Skip to content

Conversation

@khiga8
Copy link
Collaborator

@khiga8 khiga8 commented Feb 1, 2022

This PR updates the NoAriaLabelMisuse documentation to be more informative on why this is a discouarged pattern, and addresses violations that involve a tooltip. This also adds better examples of correct usage.

@khiga8 khiga8 requested review from a team, bolonio and inkblotty February 1, 2022 00:34
### "Help! I'm trying to set a tooltip on a static element and this rule flagged it!"

Learn more at [W3C Name Calcluation](https://w3c.github.io/aria/#namecalculation).
Please do not use tooltips on static elements. It is a highly discouraged, inaccessible pattern for the following reasons:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to include the source from where the reasons are coming?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a source in line 20 :)

@khiga8 khiga8 merged commit 6e88939 into main Feb 1, 2022
@khiga8 khiga8 deleted the kh-update_rule_description branch February 1, 2022 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants