Skip to content

Add accessibility label to show password checkbox - #16642

Merged
skjnldsv merged 1 commit into
nextcloud:masterfrom
nesb0t:show-password-accessibility
Dec 12, 2019
Merged

Add accessibility label to show password checkbox#16642
skjnldsv merged 1 commit into
nextcloud:masterfrom
nesb0t:show-password-accessibility

Conversation

@nesb0t

Copy link
Copy Markdown
Contributor

Fixes#15965.

Added aria-label to show password checkbox. Tested and verified with NVDA.

Comment threadcore/templates/installation.php Outdated
Comment threadcore/templates/installation.php Outdated
@jancborchardt

Copy link
Copy Markdown
Member

Thank you @nesb0t for the contribution! :)

Based on the comments from @skjnldsv and @MarcoZehe, could I ask you to change the following:

  • Instead of aria-label on the checkbox, the text can be put into the label for="show" block directly after.
  • The label for="show" then also needs class="hidden-visually" just like the checkbox so it’s only visible for screenreaders.
  • It should be translatable in the way @skjnldsv suggested.

Let us know if you need any help. ♥

@MorrisJobkeMorrisJobke mentioned this pull request Aug 8, 2019
28 tasks
This was referenced Aug 18, 2019
@rullzerrullzer mentioned this pull request Aug 29, 2019
16 tasks
@rullzerrullzer modified the milestones: Nextcloud 17, Nextcloud 18Sep 5, 2019
@rullzer

Copy link
Copy Markdown
Member

Master is no 18 development. If this needs to go into 17 please follow the normal backport procedures after merging.

@juliusknorrjuliusknorr added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Sep 9, 2019
@skjnldsv
skjnldsvforce-pushed the show-password-accessibility branch from 8296938 to 3993b87CompareDecember 10, 2019 15:19
@skjnldsv
skjnldsv self-requested a review December 10, 2019 15:20
@skjnldsvskjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress labels Dec 10, 2019
@kesselb

Copy link
Copy Markdown
Contributor

Thank you @nesb0t for the contribution! :)

Based on the comments from @skjnldsv and @MarcoZehe, could I ask you to change the following:

* Instead of `aria-label` on the checkbox, the text can be put into the `label for="show"` block directly after.
* The `label for="show"` then also needs `class="hidden-visually"` just like the checkbox so it’s only visible for screenreaders.
* It should be translatable in the way @skjnldsv suggested.

Let us know if you need any help. ♥

@skjnldsv is this done? ;)

@skjnldsv

Copy link
Copy Markdown
Member

God dammit

@kesselb

Copy link
Copy Markdown
Contributor

Sorry 🙈

@skjnldsv
skjnldsvforce-pushed the show-password-accessibility branch from 3993b87 to feda21eCompareDecember 10, 2019 17:28
@skjnldsv

Copy link
Copy Markdown
Member

Sorry

All good ;)
I missed the other comments! It's indeed the thing to do!

@kesselb

Copy link
Copy Markdown
Contributor

The label for="show" then also needs class="hidden-visually" just like the checkbox so it’s only visible for screenreaders.

Don't forget ;)

@skjnldsv

Copy link
Copy Markdown
Member

god dammit

…ble name
Signed-off-by: Brent Nesbit <github@nesbit.me>
@skjnldsv
skjnldsvforce-pushed the show-password-accessibility branch from feda21e to eda4d55CompareDecember 10, 2019 17:37
@rullzerrullzer mentioned this pull request Dec 11, 2019
43 tasks
@skjnldsv
skjnldsv merged commit 5e0f820 into nextcloud:masterDec 12, 2019
@welcome

welcomeBot commented Dec 12, 2019

Copy link
Copy Markdown

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
Most developers hang out on IRC. So join #nextcloud-dev on Freenode for a chat!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugfeature: accessibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Accessibility] "Show password" checkbox doesn't provide label or accessible name

8 participants

@nesb0t@jancborchardt@rullzer@kesselb@skjnldsv@ChristophWurst@MarcoZehe@juliusknorr