-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Change SpacingSizesControl ARIA from region to group #46530
Conversation
I will add a changelog entry before merging the fix. |
Size Change: +1.63 kB (0%) Total Size: 1.32 MB
ℹ️ View Unchanged
|
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.
Thanks! There's one failing e2e test though, even though it seems unrelated to me. Not sure why it is failing. The code change looks good to me, from an a11y perspecitve.
Note that this change will also fix a bug with navigateRegions
. as the incorrect role=region
makes this fieldset included in the navigable regions. See #42173 (comment)
Instructions to reproduce are included in a broader issue about navigateRegions
, see #46509
* Change SpacingSizesControl ARIA from region to group * Add changelog entry * Use the correct changelog file
What?
See #42173 (comment).
PR updates
SpacingSizesControl
ARIA from region to group.Why?
Borrowed from #42094
How?
I removed the hardcoded
region
role since<fieldset>
has the implicit role of the group.Testing Instructions
fieldset.component-spacing-sizes-control
.Testing Instructions for Keyboard
Props to @afercia