-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fixes for dropdowns #3732
Fixes for dropdowns #3732
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.
There's some more improvements possible (e.g. it would be nice if this also handled escape key and ideally even arrow keys), but at this point I think we should instead make sure Manon has a better more usable dropdown implementation for KAT to use.
As it stands this PR already moves aria-expanded
to the correct element, which was the main point.
Nice work! 🎉
Co-authored-by: Peter-Paul van Gemerden <[email protected]>
Co-authored-by: Peter-Paul van Gemerden <[email protected]>
…l-kat-coordination into fix/aria-expanded-set-on-button
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.
No remarks
…/aria-expanded-set-on-button
…l-kat-coordination into fix/aria-expanded-set-on-button
Checklist for QA:
What works:Looks good! Changing language now isn't buggy anymore and the pop-up- disappear nicely. What doesn't work:n/a Bug or feature?:n/a |
</div> | ||
<form id="set-language" |
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.
As the language in in the url, why is this a form / post?
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.
Woudn't a list of a href's with the current url with the current language replaced by the new language not suffice?
Quality Gate failedFailed conditions |
Changes
aria-expanded
on dropdown list and set it to thebutton
that triggers the expansionIssue link
Closes
Demo
Screen.Recording.2024-10-24.at.16.54.10.mov
QA notes
You have to run
yarn dev
to see the changes (clear cache as well)Code Checklist
.env
changes files if required and changed the.env-dist
accordingly.Checklist for code reviewers:
Copy-paste the checklist from the docs/source/templates folder into your comment.
Checklist for QA:
Copy-paste the checklist from the docs/source/templates folder into your comment.