-
-
Notifications
You must be signed in to change notification settings - Fork 750
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
Sidebar and toolbar shrink/ expanded functionality should work correctly for screen reader users #5466
Comments
cc @Wagner3UB @ichim-david |
@JeffersonBledsoe I agree with your assessment, we need to have programmatic expand shrink not just an aria-label chance like it was done in this pull request https://github.com/plone/volto/pull/5431/files#diff-5d80b3c9efb8cfe076943dc9e8d59c1bc866ffe00e911165c5ce35e3b6c5a380L185 |
I agree. While I was thinking about it, another question came to mind:
In this case, I'm considering a user who is completely blind. For them, it makes absolutely no difference whether the toolbar is open or not, but the quantity of available elements at the moment does matter. Closing both bars will create a cleaner environment for the user doing this. |
This is why you have expanded or collapsed states, when the section is collapsed the focusable items shouldn't be focusable anymore until the section where they are is meant to be interacted with. |
is this issue same as #5431 |
@Noobham no, this is an issue. #5431 is a PR that you created to address #5118. I would say that they are all related. The folks participating in the discussion on all these issues and PR should first decide on what should be done—maybe a checklist of tasks in one issue, closing the other—before anyone implements a fix in a PR. |
Describe the bug
Visual users are able to hide the toolbar or sidebar so that it does not get in the way of their editing. However, assistive technology users (such as screen reader users) are not able to do this. Pressing the 'shrink' button still allows the elements within the toolbar (or sidebar) to be focused and the current open/ closed state of the
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Actual behaviour
Screenshots
If applicable, add screenshots to help explain your problem.
Software (please complete the following information):
Additional context
aria-expanded
attribute on the button element used to open/ close the sidebar andaria-controls
can be used to programatically associate the "Shrink/ expand" button with the expanded state of the sidebar DOM element.The text was updated successfully, but these errors were encountered: