Skip to content

[combobox] readonly combobox is not announced as readonly by NVDA #4974

Open
@knoobie

Description

@knoobie

What is the problem?

At least Firefox + NVDA annouces a readonly combobox with a pre-selected value as editable. (Haven't tested other combination)

    var cb = new ComboBox<String>("Name");
    cb.setItems(List.of("1", "2", "3"));
    cb.setValue("1");
    cb.setReadOnly(true);

NVDA german log with engl. in( )


name_of_field  Kombinationsfeld(combobox)  reduziert(reduced)  erforderlich(required)  mit AutoVervollständigung(autofill)  bearbeitbar(editable)  value_of_field ausgewählt(selected)

Note: Other fields like the TextField work correctly.

Browsers

  • Chrome
  • Firefox
  • Safari
  • Safari on iOS
  • Edge

Screen Readers

  • None
  • NVDA
  • JAWS
  • VoiceOver on MacOS
  • VoiceOver on iOS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions