Skip to content
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 accessibility of buttons in the external storage configuration #33357

Merged
merged 1 commit into from
Aug 8, 2022

Conversation

tyrylu
Copy link
Contributor

@tyrylu tyrylu commented Jul 26, 2022

This means adding the button role and a tabindex attribute. It also tries to handle the expanded state for the advanced options dropdown.
Note, however, that there is no keyboard only way how to close the dropdown.

@PVince81 PVince81 added this to the Nextcloud 25 milestone Jul 27, 2022
@PVince81
Copy link
Member

@tyrylu thanks a lot for your accessibility fix.

can you please rebase / rearrange your commits ? a single commit should be enough for this fix

let us know if you need help.
you can also ask the bot to do it by typing "/rebase" in a comment and then checking out this branch again locally

@PVince81 PVince81 requested a review from Pytal July 27, 2022 05:14
@tyrylu
Copy link
Contributor Author

tyrylu commented Jul 27, 2022

/rebase

@nextcloud-command nextcloud-command force-pushed the external_storage_buttons_a11y branch from 8fde5b8 to 7f82051 Compare July 27, 2022 06:57
@szaimen szaimen added the 3. to review Waiting for reviews label Jul 27, 2022
@Pytal
Copy link
Member

Pytal commented Aug 3, 2022

Added a fixup to use the button element

Before After
image image

@Pytal Pytal force-pushed the external_storage_buttons_a11y branch from 3e64cb2 to b6eb687 Compare August 3, 2022 18:35
Note that there is no keyboard only way to close the dropdown

Signed-off-by: Christopher Ng <[email protected]>
@Pytal Pytal force-pushed the external_storage_buttons_a11y branch from b6eb687 to d760cde Compare August 3, 2022 19:33
@Pytal Pytal requested review from a team, PVince81 and skjnldsv and removed request for a team August 5, 2022 19:45
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PVince81 PVince81 merged commit fe2f8b5 into master Aug 8, 2022
@welcome
Copy link

welcome bot commented Aug 8, 2022

Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

@PVince81 PVince81 deleted the external_storage_buttons_a11y branch August 8, 2022 07:21
@skjnldsv skjnldsv mentioned this pull request Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants