Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AX: char marks for true/false need accessible clarification alternatives (prmNullFalse, prmNullTrue, prmOptFalse, prmOptTrue) #108

Closed
cookiecrook opened this issue Dec 3, 2012 · 3 comments
Labels
Milestone

Comments

@cookiecrook
Copy link

The literal characters used for true/false in the "Nullable" and "Optional" columns of a method parameters table are not as accessible as they should be. The classes prmNullFalse, prmNullTrue, prmOptFalse, and prmOptTrue use the unicode characters ✔ and ✘. These characters are not spoken by many text-to-speech engines, and the ones that do speak them (e.g. Alex on Mac OS X) pronounce them as the literal unicode description: for example, ✘ is spoken as "heavy ballot x"

These should be replaced with a span clarifying how this is used, and the implicit text alternative.


@cookiecrook
Copy link
Author

The HTML was parsed for those. It should be:

<span role="img" aria-label="True">✔</span>
<span role="img" aria-label="False">✘</span>

@cookiecrook
Copy link
Author

Ideally it will be the "text" role once that's added to the ARIA 1.1 spec, but that will not currently validate.

<span role="text" aria-label="True">✔</span>
<span role="text" aria-label="False">✘</span>

@darobin
Copy link
Member

darobin commented Sep 27, 2013

This is now fixed, thanks! It'll ship with the next release.

@darobin darobin closed this as completed Sep 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants