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 10:10:37 -0800
On Jan 14, 2010, at 9:24 AM, Daniel Jalkut wrote:
> I see that to Accessibility, an NSTableView is represented "by row" where each row has a number of children representing the columns.
>
> I have a table view with a "dummy row" that is only used to show ephemeral progress updates.
>
> Putting aside the fact that the best solution is probably for me to get away from abusing table views in this way, is there some reasonably easy way I can mask the column from the accessibility hierarchy? When a VoiceOver user, for example, browses my UI, they come upon this "empty" column, which doesn't even have a column title, and it probably doesn't do them much good.
>
> Thanks for your help,
> Daniel
There's really no good way to do this at present. On the other hand, having a region of a table view that a sighted user can see, but which is ignored by VoiceOver can lead to confusion in a collaborative environment (the sighted user sees N columns, but the VoiceOver user is told about only N-1 columns).
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.
-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