-
Notifications
You must be signed in to change notification settings - Fork 14
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
Should more mappings be based on Graphics ARIA roles rather than Core ARIA roles? #1
Comments
I updated the title because I found some more:
|
@boggydigital and @AmeliaBR: Any thoughts? |
These are all intentional, except text/textPath, where (as noted in the spec) I would much rather have a dedicated "text-span" role, but ARIA is lacking. We introduced the new There's a section at the end of the ARIA Graphics spec that covers some of the differences, and more details in the individual role descriptions. Short version
The defaults for SVG elements are always going to be a little bit arbitrary, because SVG elements are not defined by their semantic meaning. But the defaults were based on thinking of how these elements would be most likely used if the particular element was worth giving an accessible name in the first place. An SVG shape element, other than perhaps a path, won't often be a complete image on its own. So if you're giving an individual An A A A |
P.S., If you have any ideas for clarifying text in either the SVG-AAM or Graphics Roles spec, let me know. |
I'm closing this issue, but if anyone wants to suggest changes for a specific element, please open a separate issue. There is still an open issue (#2) about |
Most of the mappings in the SVG AAM, for elements which should be exposed via accessibility APIs, state the following:
There are exceptions, of course, for instance when there is no corresponding Graphics ARIA role. With this in mind:
The
image
element currently states:Is that intentional? I ask because [Graphics ARIA does have a
graphics-symbol
role (https://rawgit.com/w3c/graphics-aria/master/#graphics-symbol). And the Graphics AAM mapping forgraphics-symbol
is essentially the same as the Core AAM maping forimg
. Are implementations and ATs supposed to treatimage
likeimg
or likegraphics-symbol
?BTW, by filing this issue, I'm not saying a change should be made necessarily. But I'm working on the implementation of Graphics ARIA roles in WebKit at the moment. And now that the SVG AAM contains mappings stated in terms of Graphics ARIA roles, I think the WebKit SVG accessibility implementation should have a similar change (i.e. so the code jives with the spec). What I do for SVG
image
will depend on if it should beimg
orgraphics-symbol
.The text was updated successfully, but these errors were encountered: