daniel-nagy / md-data-table

Material Design Data Table for Angular Material
MIT License
1.9k stars 520 forks source link

Missing attribute aria-label on Edit Dialogs #525

Open ferchoman09 opened 7 years ago

ferchoman09 commented 7 years ago

I have a google chrome warning when I use $mdEditDialog.small(options);

ARIA: Attribute " aria-label ", required for accessibility, is missing on node: angular.min.js:117

It's a minor bug but is good an aplication without warnings.

tstrohmeier commented 7 years ago

The same problem with $mdEditDialog.large(options); here.

offwork commented 7 years ago

I think the same problem continues... http://prnt.sc/e3vogg It would be enough to add "aria-label" for the inputs! We are waiting....

ielektronick commented 7 years ago

As a temporary fix, you could use validators property: ...validators: { 'md-maxlength': 50, 'aria-label': 'Your aria label' } ...