-
Notifications
You must be signed in to change notification settings - Fork 841
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
Fix EuiStat invalid DOM nesting #2229
Conversation
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.
Small change should get you fixed.
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.
There's a small a11y issue that now VO users loose the bounding box of the content that's being read. That's not perfect but I think it's better than what we have today and I don't have any ideas that would keep the bounding box without significant hacks or significant work so I'm comfortable with the current solution for now.
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.
LGTM!
CL entry for the stat stuff shouldn't be in master yet. It's still in a PR over here elastic#2229 @miukimiu Please add this back into the change log file in your branch.
* Fixes stat invalid DOM nesting * Putting animation back * Moving display block * Improving sctructure and accessibility * ScreenReaderOnly rendered as a single phrase * Loading reverse * Changelog and code refactor
Fixes #2228
There was an invalid DOM nesting due to a
<p>
tag nested within another<p>
tag. The issue was fixed by replacing the<p>
tag with a<span>
.Checklist