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

fix(material-radio): Radio button a11y #312

Closed
wants to merge 1 commit into from

Conversation

marcysutton
Copy link
Contributor

This change improves accessibility of material-radio-group by adding aria-activedescendant with the active material-radio-button's id. If the radio button doesn't already have an ID, one is generated and injected dynamically.

Closes #310

@marcysutton marcysutton force-pushed the radio-a11y-refactor branch 2 times, most recently from 6c801e4 to ee2276c Compare September 23, 2014 18:24
@@ -53,7 +53,7 @@ function materialRadioGroupDirective() {

return {
restrict: 'E',
controller: RadioGroupController,
controller: ['$element', RadioGroupController],
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice.

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.

Material radio button issues in screen readers
3 participants