Skip to content

Add accessibility focus feature to TabController component#3959

Open
gayablau wants to merge 1 commit intomasterfrom
fix/tab-controller-accessibility-focus-on-select-prop
Open

Add accessibility focus feature to TabController component#3959
gayablau wants to merge 1 commit intomasterfrom
fix/tab-controller-accessibility-focus-on-select-prop

Conversation

@gayablau
Copy link
Copy Markdown
Contributor

Description

  • Introduced accessibilityFocusOnSelected state to manage focus for screen-reader users.
  • Added toggle button for enabling/disabling accessibility focus on selected tab.
  • Updated TabController and TabBarItem components to support accessibility focus behavior.
  • Enhanced documentation for TabControllerProps to include new accessibility prop.

toggle off:

Screen_Recording_20260329_160130_R.N.U.I.L.I.B.mp4

toggle on:

Screen_Recording_20260329_160305_R.N.U.I.L.I.B.mp4

Changelog

TabController component — new accessibilityFocusOnSelected prop. When true, accessibility focus moves automatically to the selected tab item on index change, ensuring screen-reader users hear the active tab announced without extra navigation. Defaults to false.

Additional info

https://wix.atlassian.net/browse/MAE-1413

- Introduced `accessibilityFocusOnSelected` state to manage focus for screen-reader users.
- Added toggle button for enabling/disabling accessibility focus on selected tab.
- Updated TabController and TabBarItem components to support accessibility focus behavior.
- Enhanced documentation for `TabControllerProps` to include new accessibility prop.
@github-actions
Copy link
Copy Markdown
Contributor

✅ PR Description Validation Passed

All required sections are properly filled out:

  • Description
  • Changelog
  • Additional info

Your PR is good for review! 🚀


This validation ensures all sections from the PR template are properly filled.

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