diff --git a/CHANGELOG.md b/CHANGELOG.md index 2df28fb7240d..dd9ce79837b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -93,6 +93,8 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b - Migrating from Prettier or ESLint no longer overwrite the `overrides` field from the configuration ([#3544](https://github.com/biomejs/biome/issues/3544)). Contributed by @Conaclos +- Fix JSX expressions for `noAriaHiddenOnFocusable` ([#3708](https://github.com/biomejs/biome/pull/3708)) . Contributed by @anthonyshew + ### Configuration - Add support for loading configuration from `.editorconfig` files ([#1724](https://github.com/biomejs/biome/issues/1724)). diff --git a/crates/biome_js_analyze/src/lint/a11y/no_aria_hidden_on_focusable.rs b/crates/biome_js_analyze/src/lint/a11y/no_aria_hidden_on_focusable.rs index 22e570f05ae5..73958009fda5 100644 --- a/crates/biome_js_analyze/src/lint/a11y/no_aria_hidden_on_focusable.rs +++ b/crates/biome_js_analyze/src/lint/a11y/no_aria_hidden_on_focusable.rs @@ -4,7 +4,7 @@ use biome_analyze::{ RuleSource, }; use biome_console::markup; -use biome_js_syntax::jsx_ext::AnyJsxElement; +use biome_js_syntax::{jsx_ext::AnyJsxElement, AnyJsxAttributeValue, AnyNumberLikeExpression}; use biome_rowan::{AstNode, BatchMutationExt}; declare_lint_rule! { @@ -33,6 +33,10 @@ declare_lint_rule! { /// ``` /// /// ```jsx + ///