-
Notifications
You must be signed in to change notification settings - Fork 13
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: add stories for UiMenu #489
docs: add stories for UiMenu #489
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.
lgtm 👍
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.
Review done, please check my comments
@@ -0,0 +1,74 @@ | |||
<template> | |||
<UiList |
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.
Keyboard interaction doesn't work as expected. For example: moving by keyboard from one option to another should be available by key arrow up and arrow down, now is possible using Tab and Tab+shift.
Please check the sections Keyboard interaction
and Aria
and add changes to code
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 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 left a few more links with details on how to use ul role="listbox
and an alternative way with select
:
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/listbox_role
https://www.w3.org/WAI/ARIA/apg/patterns/listbox/examples/listbox-rearrangeable/
I should help to implement the best solution 😍
I can still see the bugs/problems which I reported earlier. Could you recheck my comments and fix them? |
[EDIT: FIXED by @kubaszajna ] focus and hover look different than it is in the design: |
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.
Co-authored-by: Przemek Spaczek <[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.
Review done, I left 3 small comments |
--popover-content-padding-block: 0; | ||
--popover-content-padding-inline: 0; | ||
|
||
box-shadow: none; |
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.
please ask the design why they change the master component in this place. Master has a shadow. IMO it shouldn't be changed in this PR
box-shadow: none; |
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.
OK I’m waiting for response in case I will correct it later.
Description
Implement ListBox for MultiSelect lists
Related Issue
https://infermedica.atlassian.net/browse/MGPFE-57
Motivation and Context
We want to achieve the same level of accessibility across the MGP modules
How Has This Been Tested?
Screenshots (if appropriate):
Checklist: