Skip to content

Add aria-checked attribute to Checkbox and Switch components#12282

Open
davidequarracino wants to merge 1 commit intogoogle:developfrom
davidequarracino:feature/add-aria-checked-to-checkboxes
Open

Add aria-checked attribute to Checkbox and Switch components#12282
davidequarracino wants to merge 1 commit intogoogle:developfrom
davidequarracino:feature/add-aria-checked-to-checkboxes

Conversation

@davidequarracino
Copy link
Copy Markdown

SUMMARY
Addresses issue: #12062

RELEVANT TECHNICAL CHOISES
Added the aria-checked attribute to both Checkbox and Switch components. This ensures that their state is correctly communicated to assistive technologies like VoiceOver, resolving the accessibility gap.

CODE REVIEWER CHECKLIST
[x] My code is tested and passes existing unit tests.
[x] My code follows the WordPress Code Standards.
[x] I have signed the Contributor License Agreement.

@davidequarracino
Copy link
Copy Markdown
Author

Hi @tofumatt :)
I've added aria-checked to both Checkbox and Switch components and verified the fix with VoiceOver. Ready for review :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant