[@elastic/eslint-plugin-eui] added new icon-accessibility-rules rule.#9357
Merged
alexwizp merged 2 commits intoelastic:mainfrom Feb 6, 2026
Merged
[@elastic/eslint-plugin-eui] added new icon-accessibility-rules rule.#9357alexwizp merged 2 commits intoelastic:mainfrom
icon-accessibility-rules rule.#9357alexwizp merged 2 commits intoelastic:mainfrom
Conversation
Collaborator
💚 Build Succeeded |
Collaborator
💚 Build Succeeded
|
weronikaolejniczak
approved these changes
Feb 6, 2026
Contributor
weronikaolejniczak
left a comment
There was a problem hiding this comment.
LGTM 🟢 Thanks, Aliaksei!
mgadewoll
added a commit
to elastic/kibana
that referenced
this pull request
Feb 10, 2026
## Dependency updates - `@elastic/eui`: v112.2.0 ⏩ v112.3.0 - `@elastic/eslint-plugin-eui`: v2.7.0 ⏩ v2.8.0 --- ## Package updates ### `@elastic/eui` [v112.3.0](https://github.com/elastic/eui/releases/tag/v112.3.0) - Added new `server` icon. ([#9355](elastic/eui#9355)) - Added `className` support to `EuiMarkdownEditor`'s `toolbarProps` for custom toolbar styling ([#9349](elastic/eui#9349)) - Updated `EuiFilePicker` to use the `upload` icon to better indicate uploads. ([#9351](elastic/eui#9351)) - Exported the flyout system store singleton and added an event observer for emitting close session events ([#9347](elastic/eui#9347)) - Updated `EuiIcon` to use standard dynamic imports for icon assets, enabling native support for modern bundlers (Rollup, Parcel) and improving initial load performance ([#9342](elastic/eui#9342)) **Bug fixes** - Fixed a potential crash in the flyout system: due to asynchronous state updates and React's batching behavior, it was possible to experience a crash when closing a managed flyout. ([#9356](elastic/eui#9356)) ### `@elastic/eslint-plugin-eui` v2.8.0 - Added new `icon-accessibility-rules` rule. ([#9357](elastic/eui#9357)) - Added new `badge-accessibility-rules` rule. ([#9354](elastic/eui#9354))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a new icon-accessibility-rules rule to
@elastic/eslint-plugin-euito enforce accessibility requirements forEuiIconusage.Why are we making this change?
For accessibility (a11y) reasons, we need to ensure EuiIcon follows consistent, screen-reader-friendly patterns and avoids common a11y pitfalls. The new
icon-accessibility-rulesESLint rule helps catch issues at review time by enforcing best practices directly in code.Tests