-
Notifications
You must be signed in to change notification settings - Fork 839
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
[EuiCollapsibleNavBeta] Consider adding aria-hidden="true" to the icon button for screen reader UX #7353 #8236
base: main
Are you sure you want to change the base?
Changes from all commits
fbf959e
973ddf6
f95ebb0
7e29e04
9d0b720
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- Added aria-hidden={buttonIsInteractive ? 'true' : 'false'} tag to the accordion_trigger.tsx file, as advised in the issue description. | ||
|
||
**Accessibility** | ||
|
||
- Improved the accessibility experience of the accordion buttons so screen readers do not detect it twice. | ||
|
||
- Summary : aria-hidden={buttonIsInteractive ? 'true' : 'false'} was added to src/components/accordion/accordion_trigger/accordion_trigger.tsx in object EuiAccordionTrigger in const arrow. |
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,7 @@ | ||||||||||||||||||||||
- Added aria-hidden={buttonIsInteractive ? 'true' : 'false'} tag to the accordion_trigger.tsx file, as advised in the issue description. | ||||||||||||||||||||||
|
||||||||||||||||||||||
**Accessibility** | ||||||||||||||||||||||
|
||||||||||||||||||||||
- Improved the accessibility experience of the accordion buttons so screen readers do not detect it twice. | ||||||||||||||||||||||
|
||||||||||||||||||||||
- Summary : aria-hidden={buttonIsInteractive ? 'true' : 'false'} was added to src/components/accordion/accordion_trigger/accordion_trigger.tsx in object EuiAccordionTrigger in const arrow. | ||||||||||||||||||||||
Comment on lines
+1
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The top block is reserved for features. You can read more about the file structure here. We write all accessibility improvements in the "Accessibility" section. One improvement is a one bullet point. Here's my suggestion:
Suggested change
Does this sound good to you @Kukki8? 😄 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @weronikaolejniczak Yes, sounds good!. I'm still learning, so I'm fully open to any suggestions. |
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.
@Kukki8 we can remove this file 😄 We only need the one that's named the same as the PR number:
8236.md
.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.
@weronikaolejniczak Got it! I'll remove it.