Skip to content

Commit

Permalink
Update crates/biome_js_analyze/src/lint/a11y/use_heading_content.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshew authored Sep 3, 2024
1 parent 1f3f381 commit d9eb234
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl Rule for UseHeadingContent {
return Some(());
}

// When node has aria-label (and doesn't have `aria-hidden`), the label will be read by screen readers
// When node has `aria-label` (and doesn't have `aria-hidden`), the label will be read by screen readers
if node.has_truthy_attribute("aria-label") {
return None;
}
Expand Down

0 comments on commit d9eb234

Please sign in to comment.