Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

More accessible buttons - take 2 #2194

Merged
merged 3 commits into from
Oct 9, 2018

Conversation

pvagner
Copy link
Contributor

@pvagner pvagner commented Oct 4, 2018

This is another attempt at submitting #2189 which turns some remaining divs that look like buttons to so called AccessibleButtons.
Some review took place, lint errors are fixed as well ass DCO signoff.

Signed-off-by: Peter Vágner [email protected]

With this more of the
controls that look like buttons can be operated via the keyboard and
navigated to by screen reader users. This includes editor buttons such
as File upload, Audio / Video call, Right pannel hide button, Jump to
the bottom timeline button, and some more buttons found in the user
settings.
Also I have added alt texts to some images that in turn label buttons
which these happen to be packed in and removed some untranslated alt
texts from decorative non-actionable images that might add more
verbosity when talking about screen reader user experience.
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

Code-wise this looks good now, thanks for looking at these, it will make a big difference. I don't think the DCO signoff has worked though - they don't need to be on the commits, you can also just add it to the PR description.

@pvagner
Copy link
Contributor Author

pvagner commented Oct 4, 2018

Hmm so prefixing the message with signed-off-by formula is better than actually signing the commits?
Hopefully I've got it right this time.

@dbkr
Copy link
Member

dbkr commented Oct 9, 2018

Either is fine, but the commits need to have the signed-off-by header. GPG signing them is a separate thing and doesn't help with DCO signoff. :)

@dbkr dbkr merged commit 41bc42e into matrix-org:develop Oct 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants