Skip to content

Minimum bounding box and line wrapping - unclear definition #3376

@dd8

Description

@dd8

It's unclear what the following sentence means for line wrapped text:

For components which wrap onto multiple lines as part of a sentence or block of text (such as hypertext links), the bounding box is based on how the component would appear on a single line.

https://www.w3.org/TR/WCAG22/#dfn-bounding-boxes

Does this mean:

a) It's calculated as if the text is truncated at the line wrap - the red box below:

wrap-a

b) It's calculated as if white-space: nowrap is specified and the text overflows into the wider red box:

wrap-b

I couldn't see anything in the understanding document about wrapping and bounding boxes.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions