-
Notifications
You must be signed in to change notification settings - Fork 13
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
Incorrect tutor message for input with readonly state and role="combobox" #509
Comments
readonly for combobox means that neither text entry nor selection of a list entry is possible. Thus, the tutorial message from JAWS is incorrect (it also occurs with However, regardless of this, you are using combobox incorrectly, because if you want to emulate a |
Thank you for your quick response. I really appreciate it. It would be great if the tutorial message from JAWS could be changed if there's a readonly property set at the input element. Actually we hope to be compliant with ARIA1.2 when using role="combobox" at the input element. Please refer to example 6 here: https://www.w3.org/TR/wai-aria-1.2/#combobox |
I can only support that. This is indeed a JAWS error
No, your example is unfortunately not compliant:
|
I adjusted the example, so that role="combobox" is now placed at the surrounding div container: However, the tutorial message remains the same: |
As I said, the JAWS error exists independently of the erroneous code and should be fixed. Your code is still not correct in the sense of ARIA 1.2, because a combobox that simulates a select must not contain any input at all, but only a div |
Okay, thanks. Can you point me to the W3C specification for that, please? |
https://w3c.github.io/aria-practices/examples/combobox/combobox-select-only.html
https://w3c.github.io/aria/#combobox
https://github.com/w3c/aria/wiki/Resolving-ARIA-1.1-Combobox-Issues
See also: w3c/aria#1349 and w3c/aria#1051 |
The problem occurs in Chrome, Edge and Firefox |
Summary
We use input elements as select boxes, so that you can't enter free text but select a value from a drop down list.
For the input we set the readonly property as well as role="combobox".
Please find a (very raw) example here: https://codepen.io/mlhulek/pen/yLVdyWL
Expected result
JAWS shouldn't announce that it is possible to type a value.
Actual result
JAWS will announce "To set the value use the Arrow keys or type the value." as a tutor message.
Additional Information
We can't switch to select and option as there are limited possibilities regarding design and styling.
JAWS version and build number
JAWS 2021.2102.34
Operating System and version
MS Windows 10 Enterprise
Version 10.0.18363 Build 18363
Browser and version:
Chrome Version 89.0.4389.72 (Official Build) (64-Bit)
The text was updated successfully, but these errors were encountered: