Skip to content

Commit

Permalink
Fix: Add aria-label for items in the sample queries tab (#1378)
Browse files Browse the repository at this point in the history
* Add ariaLabel

* change to lowercase
  • Loading branch information
ElinorW authored Jan 27, 2022
1 parent 319d354 commit 9055147
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/views/sidebar/sample-queries/SampleQueries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export class SampleQueries extends Component<ISampleQueriesProps, any> {
(selectionDisabled ? classes.rowDisabled : '')
}
data-selection-disabled={selectionDisabled}
getRowAriaLabel={() => props.item.method.toLowerCase() + props.item.humanName}
/>
</div>
);
Expand Down

0 comments on commit 9055147

Please sign in to comment.