-
Notifications
You must be signed in to change notification settings - Fork 791
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
fix(aria-allowed-attr): allow figure role #1558
Conversation
@straker did you test this in JAWS? According to Steve Faulkner's docs this doesn't work: |
I did not. I relied on the testing of Scotts article which showed JAWS needing it in IE11.
I think there are two different use cases that we are trying to cover. I agree with Scott that we shouldn't just straight out flag it as unsupported, but maybe we just need to do what we did with I can do some testing for all cases and come up with a support matrix for when/where it is supported. |
My main question, which wasn't obvious from Scott's article, was whether or not that figure element is announced as a figure. I'm sure if you put an aria-label(ledby) on it, it'll be announced, but is it announced as a "figure" or "graphic" or whatever. |
Here's the results of my testing with So in terms of what we want to allow. VO/Safari and JAWS/IE11 (with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slight scope creep, but we should fix this.
The
figure
role is needed to properly read thefigcaption
element in some browser and AT combinations. See https://www.scottohara.me/blog/2019/01/21/how-do-you-figure.html.Linked issue: #1460
Reviewer checks
Required fields, to be filled out by PR reviewer(s)