PolymerElements / paper-progress

A Material Design progress
32 stars 43 forks source link

Remove "aria-valuenow" when `indeterminate` is true. #63

Closed bicknellr closed 7 years ago

bicknellr commented 7 years ago

https://www.w3.org/TR/wai-aria-1.1/#progressbar

The author should supply values for aria-valuenow, aria-valuemin, and aria-valuemax, unless the value is indeterminate, in which case the author should omit the aria-valuenow attribute.

Also, there's still an open bug about indeterminate progress bars' state being reported incorrectly to assistive software: https://crbug.com/564278 .

e111077 commented 7 years ago

Pre-approved but waiting for tests to pass