Skip to content

Commit

Permalink
Change aria-label of bst
Browse files Browse the repository at this point in the history
  • Loading branch information
waleery committed Nov 14, 2023
1 parent 71eea1d commit e17d570
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/Bst.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,10 @@ const Bst = () => {
};

return (
<div style={{height:"100%"}} ref={treeContainerRef} aria-label="Binary search tree">
<div style={{height:"100%"}} ref={treeContainerRef} role="tree" aria-label="Binary search tree container">
{translate ?
<Tree
aria-label="Binary search tree display"
data={bstData}
orientation="vertical"
rootNodeClassName="node__root"
Expand Down

0 comments on commit e17d570

Please sign in to comment.