Skip to content

Comments

[EuiCollapsibleNavBeta] Remove duplicate button as output for screen readers#8342

Merged
mgadewoll merged 7 commits intoelastic:mainfrom
mgadewoll:collapsible-nav-beta/7353-aria-hidden-button
Feb 25, 2025
Merged

[EuiCollapsibleNavBeta] Remove duplicate button as output for screen readers#8342
mgadewoll merged 7 commits intoelastic:mainfrom
mgadewoll:collapsible-nav-beta/7353-aria-hidden-button

Conversation

@mgadewoll
Copy link
Contributor

Summary

closes #7353

This PR is a copy of #8236

This PR adds aria-hidden to the EuiCollapsibleNavBeta action trigger icon buttons to prevent duplicate buttons being perceivable for screen reader users.

QA

This PR was already QAed here and tested for Accessibility as mentioned here.

General checklist

@mgadewoll mgadewoll self-assigned this Feb 25, 2025
@kibanamachine
Copy link

Preview staging links for this PR:

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @mgadewoll

@mgadewoll mgadewoll marked this pull request as ready for review February 25, 2025 09:08
@mgadewoll mgadewoll requested a review from a team as a code owner February 25, 2025 09:08
Copy link
Contributor

@weronikaolejniczak weronikaolejniczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for opening the PR, Lene! 🎉 The changes look good!

@mgadewoll mgadewoll merged commit a1c7216 into elastic:main Feb 25, 2025
8 checks passed
tkajtoch added a commit to elastic/kibana that referenced this pull request Mar 7, 2025
# Backport

This is a manual backport of #212974 and #213292

---

`99.3.0-classic.0` ⏩ `100.0.0-classic.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

---


## [`v100.0.0`](https://github.com/elastic/eui/releases/v100.0.0)

**Bug fixes**

- Fixed `EuiComboBox` by cleaning duplicated values when having a
delimiter prop. ([#8335](elastic/eui#8335))

## [`v99.4.0`](https://github.com/elastic/eui/releases/v99.4.0)

- Minor design updates to `EuiCollapsibleNavBeta`
([#8332](elastic/eui#8332))
  - Allow section without a title
- Second-level icons should be horizontally aligned with the top-level
icon
  - Turn off text truncation for nav items
- Added `quickSelectButtonProps` to `EuiSuperDatePicker`
([#8380](elastic/eui#8380))

**Bug fixes**

- Fixed a bug in `EuiHeader` where the navigation of
`EuiCollapsibleNavBeta` would render below the `EuiFlyout`'s overlay
([#8325](elastic/eui#8325))

**Accessibility**

- Improved the accessibility of `EuiComboBox` by adding `aria-setsize`
and `aria-posinset` to ensure correct information is provided for its
virtualized listbox ([#8333](elastic/eui#8333))
- Improved the `EuiAccordionTrigger`'s screen reader UX by passed
`aria-hidden` to the `EuiAccordionArrow` to avoid duplicated
announcements by screen readers.
([#8342](elastic/eui#8342))

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[EuiCollapsibleNavBeta] Consider adding aria-hidden="true" to the icon button for screen reader UX

5 participants