Skip to content
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(react-drawer): InlineDrawer example fixes #33192

Merged
merged 8 commits into from
Nov 7, 2024

Conversation

emmayjiang
Copy link
Contributor

Previous Behavior

Currently, screenreaders do not announce any information when an InlineDrawer is opened.

New Behavior

This PR fixes the InlineDrawer examples to use ToggleButtons instead, so when the InlineDrawer is opened, screenreaders will announce that the button that opens the InlineDrawer is pressed.

I also added a line in the guidance section that specifies that focus needs to be manually set to the InlineDrawer if the behavior is desired by the user, and that we do not provide that functionality by default.

Related Issue(s)

@emmayjiang emmayjiang marked this pull request as ready for review November 1, 2024 19:27
@emmayjiang emmayjiang requested review from marcosmoura and a team as code owners November 1, 2024 19:27
@fabricteam
Copy link
Collaborator

fabricteam commented Nov 1, 2024

📊 Bundle size report

✅ No changes found

Copy link

github-actions bot commented Nov 7, 2024

📊 Bundle size report

✅ No changes found

Copy link

github-actions bot commented Nov 7, 2024

Pull request demo site: URL

@emmayjiang emmayjiang merged commit 0e1377f into microsoft:master Nov 7, 2024
17 checks passed
@emmayjiang emmayjiang deleted the drawer-example-fixes branch November 7, 2024 17:06
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.

4 participants