Re: How to hide a table view column from Accessibility hierarchy?
Re: How to hide a table view column from Accessibility hierarchy?
- Subject: Re: How to hide a table view column from Accessibility hierarchy?
- From: James Dempsey <email@hidden>
- Date: Thu, 14 Jan 2010 11:43:03 -0800
On Jan 14, 2010, at 11:39 AM, Daniel Jalkut wrote:
> Hello again, James:
>
> On Jan 14, 2010, at 1:10pm, James Dempsey wrote:
>
>> Although, I realize it displays only transient status (might this be like a progress indicator of some sort? or a text status "Downloading..."?), if any of these operations can take more than a second or two, you may want to expose that cell as an AXProgressIndicator or AXBusyIndicator if it is a graphical progress indicator, or as an AXStaticText if it is text status.
>
> Thanks for motivating me to handle this more elegantly. I figured out how to set override values on the table cell in question, so that it reports itself as a busy progress indicator, with a default value of false. Now when a user navigates to the column with VoiceOver, it reports it accurately as a progress indicator.
>
> Then, I update the override value setting in outlineView:willDisplayCell:forTableColumn:item:, on the assumption that this is called frquently enough implicitly, or even explicitly by Accessibility, to make the value reasonably reliable to a screen reader.
>
> This seems to produce a reasonable result. The only small defect I can see is that I still have a second busy indicator element floating around, conveying the actual visual indicator. That is to say, the accessible value and the visual value are not represented by the same accessibility element, but their values are kept in sync. This seems less than ideal, but probably most users will not care.
Possibly the second busy indicator could be set to be ignored by accessibility? If the two really are visually the same thing.
> For the case where I'm using a table column as a purely cosmetic padding, maybe I will override the description so that it conveys what its purpose is. I.e. something like "margin".
That might work, it definitely lets a VoiceOver user know that there isn't information there that they are missing, unlike no description, which might feel more like something has been left out.
-James
--------------------------------------------------
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