Skip to content

Conversation

muffinresearch
Copy link
Contributor

@muffinresearch muffinresearch commented May 17, 2016

Fixes mozilla/addons#9601 Fixes mozilla/addons#9600

This makes it possible for a keyboard user to focus and interact with the install button checkboxes.

discover_add-ons

Notes: You can tab to the buttons and it should be focussed as per the styles above. Hitting spacebar interacts with it which is the same for a normal checkbox.

I'll file some separate bugs re: reflecting the state of the install better for AT users.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 7cb41db on muffinresearch:install-button-keyboard-a11y into 10276e4 on mozilla:master.

<div className={switchClasses} onClick={this.handleClick}
data-download-progress={isDownloading ? downloadProgress : 0}>
<input
id={slug}
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like this should reference that it is the install button, install-button-${slug} maybe?

@mstriemer
Copy link
Contributor

r+wc

@muffinresearch muffinresearch force-pushed the install-button-keyboard-a11y branch from 7cb41db to d3e0076 Compare May 18, 2016 09:50
@muffinresearch muffinresearch merged commit 89ebd18 into mozilla:master May 18, 2016
@muffinresearch muffinresearch deleted the install-button-keyboard-a11y branch May 18, 2016 09:56
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling d3e0076 on muffinresearch:install-button-keyboard-a11y into 1ca9e54 on mozilla:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure install button is keyboard navigable Associate the label with the install button checkbox.
3 participants