-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[CollapsibleNav] Make CollapsibleNav
Items Accessible on Small Screens and In Browsers with High Zoom
#155817
Conversation
…av Group items can be seen and interacted with when the screen is very small or the browser is using a high zoom level
@elasticmachine merge upstream |
CollapsibleNav
Items Accessible on Small Screens and In Browsers with High Zoom
packages/core/chrome/core-chrome-browser-internal/src/ui/header/collapsible_nav.scss
Outdated
Show resolved
Hide resolved
packages/core/chrome/core-chrome-browser-internal/src/ui/header/collapsible_nav.scss
Outdated
Show resolved
Hide resolved
packages/core/chrome/core-chrome-browser-internal/src/ui/header/collapsible_nav.scss
Outdated
Show resolved
Hide resolved
…lapsible-nav Pulling latest commits from collapsible-nav branch
…ements within this PR
Putting this in draft to investigate test failure |
packages/core/chrome/core-chrome-browser-internal/src/ui/header/collapsible_nav.scss
Outdated
Show resolved
Hide resolved
packages/core/chrome/core-chrome-browser-internal/src/ui/header/collapsible_nav.scss
Outdated
Show resolved
Hide resolved
packages/core/chrome/core-chrome-browser-internal/src/ui/header/collapsible_nav.scss
Outdated
Show resolved
Hide resolved
…r/collapsible_nav.scss Co-authored-by: Cee Chen <[email protected]>
…r/collapsible_nav.scss Co-authored-by: Cee Chen <[email protected]>
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.
One super minor comment left and I think this is good to go!
packages/core/chrome/core-chrome-browser-internal/src/ui/header/collapsible_nav.scss
Outdated
Show resolved
Hide resolved
…r/collapsible_nav.scss Co-authored-by: Cee Chen <[email protected]>
@elasticmachine merge upstream |
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.
Looks great to me - thanks Bree!
Re-merged upstream in hopes that it fixes the FTR tests 🤞
💚 Build Succeeded
Metrics [docs]Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
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.
Tested, works as described and as seen in video. Nice enhancement!
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.
code changes lgtm, thanks!
Fixes elastic/eui#6702
Pinging @elastic/eui-team for visibility
Summary
✨ What's the problem?
A user submitted an issue where they were unable to use the main collapsible nav when their browser was zoomed in at 400% for accessibility. The nav items weren't visible and could not be interacted with at this level.
✨ What changed?
When the container for the collapsible nav has a
max-height
of15em
, overflow and additional flex properties are used to allow the nav groups to be traversed.Screen.Recording.2023-04-25.at.9.42.51.PM.mov
✨ QA
View the Kibana homepage and set the Zoom on your browser to 400%. This will need to be done in a relatively small window (like the one on your computer itself, not an external monitor). Open the main navigation menu on the left. You should be able to navigate all links in menu with both keyboard and by scrolling the sections.
Checklist
Delete any items that are not applicable to this PR.
For maintainers