-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(datepicker): double role definition on calendar cell #17297
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
Conversation
I'm not sure this is right; I think that we should have a button inside the gridcell. |
I don't know how much of an effect that would have since focus lands on the |
At the very least having a |
Based on the WAI-ARIA datepicker dialog example, it looks like we should indeed have buttons inside of the <td class="dateCell">
<button class="dateButton" tabindex="-1">2</button>
</td> Additionally, we put the
|
I tested this change on NVDA While #17280 mentions the duplicate roles, #17689 tracks the regression in screen reader support from 7.x to 8.2+. |
9ba50c0
to
c9a17b9
Compare
@jelbourn what should we do about this PR? We still have the duplicate roles in master. |
I just tested this in ChromeVox, NVDA, and VoiceOver. NVDA does not work well with a |
Fixes the calendar cells having two `role` attributes. Fixes angular#17280.
c9a17b9
to
aeed2bb
Compare
Done. |
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.
LGTM
Fixes the calendar cells having two `role` attributes. Fixes #17280.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes the calendar cells having two
role
attributes.Fixes #17280.