Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix(event-chart): Added aria-label to rendered event bubble.
Browse files Browse the repository at this point in the history
When a role of button is applied an aria-label or some sort of label is required. For the event-bubble button it is save to assume that it will open the overlay (or at least select the element). This is controlled by the internal logic of the event-chart.
  • Loading branch information
tomheller committed Dec 10, 2020
1 parent 630abef commit e86b5e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/barista-components/event-chart/src/event-chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
"
[class.dt-event-chart-event-selected]="_isSelected(renderEvent)"
role="button"
aria-label="Select this event to open the corresponding details panel"
tabindex="0"
(click)="_eventSelected($event, renderEvent)"
(keydown)="_handleEventKeyDown($event, renderEvent)"
Expand Down

0 comments on commit e86b5e3

Please sign in to comment.