Bug 1438837 - fix VirtualizedTree node aria-level attribute to start with 1 not 0. r=nchevobbe
MozReview-Commit-ID: KLb964Irdkd
This commit is contained in:
@@ -811,7 +811,7 @@ class TreeNodeClass extends Component {
|
||||
id: this.props.id,
|
||||
className: classList.join(" "),
|
||||
role: "treeitem",
|
||||
"aria-level": this.props.depth,
|
||||
"aria-level": this.props.depth + 1,
|
||||
onClick: this.props.onClick,
|
||||
"aria-expanded": ariaExpanded,
|
||||
"data-expanded": this.props.expanded ? "" : undefined,
|
||||
|
||||
Reference in New Issue
Block a user