Update the aria role for datalist and its options to match the spec.
According to https://w3c.github.io/html-aam/#el-datalist the aria role for datalist should be listbox (currently it is menu). For datalist options according to https://w3c.github.io/html-aam/#el-option the aria role should be option (currently it is menuitem). The unit test is also updated to use the new aria roles. Bug: 1011133 Change-Id: Ia3541067e3d8ada622c5c3776f3b1b0ce0a26c54 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1838997Reviewed-by:Akihiro Ota <akihiroota@chromium.org> Reviewed-by:
David Tseng <dtseng@chromium.org> Reviewed-by:
Evan Stade <estade@chromium.org> Commit-Queue: Ionel Popescu <iopopesc@microsoft.com> Cr-Commit-Position: refs/heads/master@{#706495}
Showing
Please register or sign in to comment