PolymerElements / paper-button

A button à la Material Design
https://www.webcomponents.org/element/PolymerElements/paper-button
138 stars 64 forks source link

paper-button accessibility issues #7

Closed lpalmaro closed 9 years ago

lpalmaro commented 9 years ago

Here are the results from the accessibility developer tools audit:

[Warning] Text elements should have a reasonable contrast ratio (8)See AX_COLOR_01 for more information.[Warning] These elements are focusable but either invisible or obscured by another element (6)See AX_FOCUS_01 for more information.Not applicable tests (9)Passing tests (6)

Please address the contrast issues, as well as the visibility of the focus state, as it is currently quite difficult to see.

tjsavage commented 9 years ago

Thanks! Do you know which specific element setup triggered this?

lpalmaro commented 9 years ago

Hey,

Unfortunately, I'm not able to copy/paste the full results, only the summary of what failed and passed. To see the full results, please simply run the audit.

To run the audit, install the extension, available at https://chrome.google.com/webstore/detail/accessibility- developer-t/fpkknkljclfencbdbgkenhalefipecmb?hl=en

Then open Dev Tools, click on the Audits tab, then run an Accessibility audit.

Thanks! Laura

On Wed, May 6, 2015 at 3:35 PM, Taylor Savage notifications@github.com wrote:

Thanks! Do you know which specific element setup triggered this?

— Reply to this email directly or view it on GitHub https://github.com/PolymerElements/paper-button/issues/7#issuecomment-99631188 .

alice commented 9 years ago

Should provide and document an alt attribute similar to input type=image for the case where there is only an icon and no text. Ideally, make no text content and no alt throw a console error.

lpalmaro commented 9 years ago

Ping on progress? Thanks!

alice commented 9 years ago

Can't see focus styles for flat buttons at all on Yosemite; might be related to https://code.google.com/p/chromium/issues/detail?id=492695

cdata commented 9 years ago

These buttons should be bold when focused. I don't think this is great, but we lack sufficient design direction to do anything else.

alice commented 9 years ago

There is literally no visible change at all on focus in Yosemite - no text style change, nothing.