Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(datePicker): add support for aria-describedby #11762

Open
mkowalchuk opened this issue Jul 17, 2019 · 0 comments
Open

feat(datePicker): add support for aria-describedby #11762

mkowalchuk opened this issue Jul 17, 2019 · 0 comments

Comments

@mkowalchuk
Copy link
Contributor

@mkowalchuk mkowalchuk commented Jul 17, 2019

Bug, enhancement request, or proposal:

Enhancement request

Detailed Reproduction Steps:

  1. Create an md-datepicker and an ng-messages block for displaying input errors from the date picker.
  2. Attempt to specify the relationship between the two by using aria-describedby on the md-datepicker.

What is the expected behavior?

mdDatepicker should support an attribute of 'input-aria-describedby' that accepts element IDs. It should be propagated down to the input element.

mdAutocomplete supports this already:
https://material.angularjs.org/latest/api/directive/mdAutocomplete

What is the current behavior?

There's no easy way to associate the date-picker element with the error messages.

What is the use-case or motivation for changing an existing behavior?

Accessibility/screen readers.

Which versions of AngularJS, Material, OS, and browsers are affected?

Latest

@Splaktar Splaktar self-assigned this Jul 21, 2019
@Splaktar Splaktar added this to the 1.1.21 milestone Jul 21, 2019
@Splaktar Splaktar modified the milestones: 1.1.21, 1.1.22 Aug 15, 2019
@Splaktar Splaktar modified the milestones: 1.1.22, 1.1.23 Oct 22, 2019
@Splaktar Splaktar modified the milestones: 1.1.23, 1.2.1 Jun 8, 2020
@Splaktar Splaktar changed the title feat(datePicker): Add support for aria-describedby feat(datePicker): add support for aria-describedby Jul 1, 2020
@Splaktar Splaktar modified the milestones: 1.2.1, 1.2.2 Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.