Re: Accessibility Verifier warning
Re: Accessibility Verifier warning
- Subject: Re: Accessibility Verifier warning
- From: James Dempsey <email@hidden>
- Date: Mon, 2 Nov 2009 11:20:48 -0800
Ian,
You can also safely ignore this warning. Although the search field is a single cell, it does have a few sub-elements which are reported to accessibility as children. The magnifying glass is a button and can be configured to be a popup button that reveals search options or recent searches. When it is not configured to do either of these things, it just selects all the text in the search field. This is reported as an AXButton to accessibility, and it is this button that does not currently have a description or title.
When you type in a search field, there is also a cancel button on the right, this is also reported as a child AXButton, but it does correctly have an AXDescription.
We do already have a Radar report for this, so you don't need to report it again - although having multiple reports of an issue can help it get a higher priority.
Thanks,
James
On Nov 2, 2009, at 1:38 AM, Ian Piper wrote:
> Hi all,
>
> I have come across another oddity in running the Accessibility Verifier. I have a searchfield on the main window of my application, and when I run the Verifier I see this warning:
>
> Fetching all elements (no errors or warnings)
> Parent/Child (no errors or warnings)
> Window (no errors or warnings)
> Missing AXDescription or AXTitleUIElement (1 warnings)
> warning: AXButton - "", Missing AXTitle with no AXDescription or AXTitleUIElement attribute
> AXApplication - "Notebook" > AXWindow(AXStandardWindow) - "Notebook Entries" > AXTextField(AXSearchField) - "Search field" > AXButton - ""
>
> In the lower pane I see this:
>
>
> AXApplication - "Notebook"
> AXWindow(AXStandardWindow) - "Notebook Entries"
> AXButton(AXCloseButton) - "close button"
> AXButton(AXZoomButton) - "zoom button"
> AXButton(AXMinimizeButton) - "minimize button"
> AXButton - "Remove Notebook Entry"
> AXButton - "Notebook Entry Add button"
> AXScrollArea
> AXTextField(AXSearchField) - "Search field"
> AXButton - ""
> [...]
>
>
> Now I have attached Description and Help tags to the NSSearchField (and even, to be on the safe side, the child NSSearchFieldCell) As far as I can see the SearchField has no child other than the SearchFieldCell. What is this warning referring to, and what UI element is the mysterious "AXButton"?
>
> Thanks for any guidance you may be able to offer.
>
>
> Ian.
> --
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Accessibility-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--------------------------------------------------
James Dempsey
AppKit Engineering
Apple
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden