-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Prerequisites
- I have read the Contributing Guidelines.
- I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.
Affected component
Summary
When configuring the to be readonly the screen reader detects this as input field resulting in incorrect instructions read out by the screen reader.
Version
@simpl/element-ng: 48.10.0
Steps to reproduce
- Configure the select input in a context that is able to either switch edit modes or is readonly
- check the role attribute of the element
- (optional) start a screen reader (e.g. JAWS) and let it read out the element attributes
Code reproduction example
What is the current bug behavior
The screen reader detects combo boxes that are marked as read only as input fields. Therefore it reads out 'edit' causing confusion for the user.
What is the expected correct behavior
Read only combo boxes should still have the same role. When starting a screen reader it should read out the correct role and state of the element (e.g. combobox read only) as well as the instructions to that element (this should already be default behaviour for the role=combobox and does not need any adaptations)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working