Expose Aria labbeling to PSU Elements/Controls for WCAG compliance
1 vote
Currently, there seems to be no way to make apps complaint with WCAG standards for screen reader support.
Consider the following:
New-UDTextbox -Id 'HardWords' -Label 'Nougat Croissant Valet'
The screenreader may read the label as "noujet Croi-sant val-it", a known issue with screen readers.
This is what Aria-Label would be used for in web development.
A new property on all the elements such as -Aria-Label "noo-gah Krwah-sahn val-ay" would resolve this issue.
A even better solution is a way to inject HTML tag attributes into any element in the same fashion as New-UDStyle for styling such as New-UDAttributes or a similar name.