-
Notifications
You must be signed in to change notification settings - Fork 384
Description
Hello,
In a dropdown list where the visible labels use two-letter abbreviations for provinces, the "aria-label" attribute on each element provides the full name of the province. For example, the visible label might be "AB," and the aria-label is "Alberta."
The issue is the accessible name provided via the "aria-label" attribute doesn't contain the the visible text for each option.
<label for="pro">Province</label> <select name="province" autocomplete="address-level1" class="form-control arrow " id="pro"><option value="0" aria-label="Alberta">AB</option><option value="1" aria-label="British Columbia">BC</option><option value="2" aria-label="Manitoba">MB</option></select>
Would this be considered as a failure for the SC 2.5.3? Any thoughts or feedback would be appreciated.
Thank you