Skip to content

Commit

Permalink
Add aria-selected to newly created div
Browse files Browse the repository at this point in the history
  • Loading branch information
marcincodes committed Oct 14, 2023
1 parent b74382e commit e0401fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/components/IndexPane/CompactView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const CompactView: React.FC<CompactViewProps> = ({
</svg>
</button>
)}
<div className="truncate">
<div aria-selected={i === cursor} className="truncate">
{route.displayName}
</div>
</div>
Expand Down

0 comments on commit e0401fc

Please sign in to comment.