-
Notifications
You must be signed in to change notification settings - Fork 839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOCS] Added a11y guidance for EuiTooltip
and EuiPopover
#7527
[DOCS] Added a11y guidance for EuiTooltip
and EuiPopover
#7527
Conversation
* Added a11y guidance to EuiTooltip. * Added a11y guidance to EuiPopover.
EuiTooltip
and EuiPopover
EuiTooltip
and EuiPopover
EuiTooltip
and EuiPopover
Preview staging links for this PR:
|
💚 Build Succeeded
cc @1Copenut |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This advice looks spot on to me. Thanks Trevor.
|
||
<EuiCallOut | ||
iconType="accessibility" | ||
color="warning" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like how you moved the popover intro up here!
One note: We've historically used the blue/informational color for accessibility callouts in the past (example here). I'm not sure how we want to strike the balance of friendliness vs importance, but I think we should consider noting all our callouts around accessibility and ensuring we have some sort of consistent pattern in place and documented for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wondered about that, and I'm glad you brought it up @cee-chen. I'm happy to take another swing at this to modify the a11y callouts to blue and use that as a general guideline for future callouts.
Summary
Updated documentation for a11y considerations in the
EuiTooltip
andEuiPopover
components. Screenshots attached at the bottom.QA
Remove or strikethrough items that do not apply to your PR.
General checklist