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

Slider's aria-disabled attribute does not update #272

@marcysutton

Description

@marcysutton

On a material-slider with a disabled expression such as ng-disabled="color.green < 125", aria-disabled does not update to true along with the presence of the disabled attribute. It looks like updateAriaDisabled() should be routed through the $watch function, but it isn't being fired when the disabled condition is met.

Mismatched aria-disabled and disabled attributes on Material slider

A little more about the disabled attribute: it's not semantically valid on a custom element without extending a native element such as input via a Web Component. http://www.w3.org/TR/html5/disabled-elements.html
I wonder if it makes sense to only use aria-disabled for the current state since there is also disabled and ng-disabled? Attribute city.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11yThis issue is related to accessibilitytype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions