FIX: removes aria-hidden on category-status (#29800)

Descendants can gain focus (category badge) and that makes aria-hidden incorrect as a result.
This commit is contained in:
Joffrey JAFFEUX 2024-11-18 08:23:50 +01:00 committed by GitHub
parent 9dab8ed29b
commit 388b9dd38d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ export default class CategoryRow extends Component {
> >
{{#if this.category}} {{#if this.category}}
<div class="category-status" aria-hidden="true"> <div class="category-status">
{{#if this.hasParentCategory}} {{#if this.hasParentCategory}}
{{#unless this.hideParentCategory}} {{#unless this.hideParentCategory}}
{{this.badgeForParentCategory}} {{this.badgeForParentCategory}}