standards-support
standards-support copied to clipboard
select size>1 does not work
Summary
select size>1 does not work
- save as HTML file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>select size>1</title>
</head>
<body>
<label for=1>ingredients 1</label><br>
<select size=4 id=1>
<option>tomato
<option selected>carrot
<option>apple
<option>pear
</select>
<label for=2>ingredients 2</label><br>
<select id=2 size=2>
<option>tomato
<option>carrot
<option>apple
<option>pear
</select>
</body>
</html>
- Navigate with Tab key, arrow keys, C, F, overview (INS+Ctrl+C, INS+F5), with arrow keys in forms mode (after focusing the select elements)
Expected result
- label, role and value is output with all navigation methods
- Output is consistent across different browsers
Actual result
- role and value is not output with all navigation methods
- The output differs from browser to browser
- for problems with optgroup: see https://github.com/FreedomScientific/VFO-standards-support/issues/243
- for problems with multiple: see https://github.com/FreedomScientific/VFO-standards-support/issues/245
Some of the problems have existed for many years.
Chrome, Firefox and IE 11
- there is no way to explore the list entries without changing the value, which is especially problematic if no value was selected before, because you cannot return to the original state
- INS+Ctrl+C, INS+F5: No output of value
- INS+Ctrl+C: No output of role
Firefox
- Tab: not perceptible whether focused entry is selected or not
- C, F, reading with arrow keys: No output of value, label is output twice
IE 11
- Tab: not perceptible whether focused entry is selected or not
- When reading linearly with the arrow keys, the old value (when the page is loaded) is always output as the current value and never the current value (if this has been changed)
- legend in fieldset is not output (see https://github.com/FreedomScientific/VFO-standards-support/issues/233)
Chrome
- INS+F5: with additional misleading "checked not checked sub men"
Additional Information
JAWS version and build number
JAWS 2019.1906.10
Operating System and version
Windows 8
Browser and version:
Internet Explorer 11.0.9600.19431 Chrome 76.0.3809.100 Firefox 68.0.2
In addition, JAWS has problems with the correct output of the select element when changing languages with lang attribute.
The following example uses German terms and lang=de, tested with the English version of JAWS:
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>select and lang</title>
</head>
<body>
<label for=1>Zutaten 1</label><br>
<select size=4 id=1 multiple>
<option>Tomate
<option selected>Möhre
<option selected>Apfel
<option selected>Birne
</select><br>
<label for=2>Zutaten 2</label><br>
<select id=2 size=6>
<optgroup label="Gemüse">
<option>Tomate
<option>Möhre
</optgroup>
<optgroup label="Früchte">
<option>Apfel
<option>Birne
</optgroup>
</select><br>
<label for=3>Zutaten 3</label><br>
<select id=3 size=1>
<optgroup label="Gemüse">
<option>Tomate
<option>Möhre
</optgroup>
<optgroup label="Früchte">
<option>Apfel
<option>Birne
</optgroup>
</select>
</body>
</html>
IE
- select size>1: During tab navigation, value is output with English pronunciation.
- select size>1: when reading with the arrow keys the role is output in English with German pronunciation
Firefox
- select size=1: During tab navigation, value and label are output with English pronunciation.
- select size>1: when reading with the arrow keys the role is output in English with German pronunciation
Chrome:
- select size>1: when reading with the arrow keys the role is output in English with German pronunciation
@JAWS-test is this still an issue?
Sorry for the late reply. Unfortunately I didn't have the time.
Tested with JAWS 2024.2310.70 and current versions of Firefox, Chrome and Edge.
I did not check the language change.
The following problems still exist.
Chrome, Firefox and Edge:
- there is no way to explore the list entries without changing the value, which is especially problematic if no value was selected before, because you cannot return to the original state
- INS+Ctrl+C, INS+F5: No output of value (selected option)
- INS+Ctrl+C: No output of role
- Reading with VPC: no output of the non-selected options
Firefox:
- Tab: not perceptible whether focused entry is selected or not
- Reading with VPC: no output of value (selected option)
- Reading with VPC: ouput of the label 3 times
NEW: More problematic, however, is that a selection list is no longer output by JAWS after the value change in Chrome and Edge when reading with VPC (and quick navigation with C and F). With VPC only the label is output, with C and F the element is skipped.
The problem only ever occurs with the last changed selection list.