Skip to content

How can long list entries within selects fulfill SC 1.4.10? #1233

@JAWS-test

Description

@JAWS-test

Line breaks cannot be inserted in native select elements. Nor do they break automatically. How do I comply with SC 1.4.10 if my list entries are long?

I must either scroll (when scrolling, however, the list is closed automatically, see example 1 at https://codepen.io/jaws-test/pen/QWyPzgM) or limit the width of the select element, but then I cannot see the list entries completely and cannot scroll (example 2).

As far as I know, there is no solution with HTML and CSS. So selects should be excluded from 1.4.10 (according to "Except for parts of the content which require two-dimensional layout for usage or meaning."), right?

But since the operation is very complicated even with scrolling, the question would be whether to either talk to the browser manufacturers and define a new requirement for browsers (line break inside option elements; in the UAAG). Alternatively, it could also be defined in the WCAG that list entries may never be longer than 320px wide?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions