kazzkiq/balloon.css

Accessibility issue due to aria-label

Open

#146 opened on 2020年9月20日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)CSS (5,029 stars) (441 forks)batch import
accessibilityhelp wanted

説明

Adding aria-label does announce it to screen readers but the container element on which the tooltip is shown, the text of that button for example won't be announced as shown in https://kazzkiq.github.io/balloon.css/ the text Hover me is not announced since the aria-label now just has the tooltip text which is an accessibility issue.

ideally, first, the button content should be announced and then the tooltip content.

For the accessibility, role tooltip should be added to the tooltip so screen readers announce it as tooltip but since it uses pseudo-element so won't be possible.

コントリビューターガイド

Accessibility issue due to aria-label · kazzkiq/balloon.css#146 | Good First Issue