-
Notifications
You must be signed in to change notification settings - Fork 863
[EuiFlyout] Missing flyout title in screen reader announcement #9212
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
base: main
Are you sure you want to change the base?
Conversation
weronikaolejniczak
left a comment
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.
Thank you for the contribution, Aliaksei! 🙏🏻
Testing
I only have some doubts about the NVDA...
✅ VoiceOver + Safari (MacOS)
Kapture.2025-11-14.at.14.50.46.mp4
Kapture.2025-11-14.at.14.54.43.mp4
Reads the whole flyout on opening. Is this expected behavior? What if the flyout content is long?
I see that the same doesn't happen for EuiModal (#8954).
Before:
Kapture.2025-11-14.at.14.58.11.mp4
Kapture.2025-11-14.at.14.56.56.mp4
✅ JAWS + Chrome (Win)
No audio, it announces "Toggle flyout button. To activate press Enter.
Enter Flyout header heading level 2. You are in a modal dialog. Press Escape or Tab / Click outside the dialog to close."
Kapture.2025-11-14.at.15.06.21.mp4
✅ JAWS + Firefox (Win)
Kapture.2025-11-14.at.15.08.24.mp4
|
@weronikaolejniczak I think this is related to the However, I don’t think this is a significant issue, because we normally recommend setting either aria-labelledby or aria-label for each |
|
@alexwizp it doesn't seem to override it: Kapture.2025-11-20.at.17.32.26.mp4I'm testing this example, it uses I also tried
|
💚 Build SucceededHistory
|
💔 Build Failed
Failed CI StepsHistory
|

This PR apply the same approach to
EuiFlyoutthat we previously implemented forEuiModal. See #8954 for more details.Changes
Why are we making this change?
To improve the accessible experience of flyouts by ensuring the title is announced when the flyout opens. This provides helpful context and is more useful than landing focus on the close button.
Impact to users
🟢 There are no updates required on consumer side.
ℹ️ Due to the DOM changes, it's expected that snapshots might require updates.
QA
General checklist
Checked in both light and dark modesChecked in both MacOS and Windows high contrast modesChecked in mobileProps have proper autodocs (using@defaultif default values are missing) and playground togglesChecked Code Sandbox works for any docs examplesUpdated visual regression testsIf applicable, added the breaking change issue label (and filled out the breaking change checklist)If applicable, file an issue to update EUI's Figma library with any corresponding UI changes. (This is an internal repo, if you are external to Elastic, ask a maintainer to submit this request)