Testar på krav:
- 1.4.4 Endring av tekststørrelse
Innhaldstype:
Krav til samsvar:
Applicability
This rule applies to any text node for which all of the following is true when in a viewport size of 640 by 512:
Note: A viewport size of 640 by 512 is equivalent to a viewport size of 1280 by 1024 zoomed 200%.
Expectation 1
Each test target is not horizontally clipped by overflow of an ancestor in the flat tree when in a viewport size of 640 by 512, except if the clipping ancestor has a computed white-space of nowrap, and a computed text-overflow that is not clip
Expectation 2
Each test target is not vertically clipped by overflow of an ancestor in the flat tree when in a viewport size of 640 by 512, except if the clipping ancestor has a used line-height equal to or greater than the height of its bounding box, or in case of a computed overflow-y of clip, its content box.
Assumptions
If any of the following assumptions is true, failing this rule may not result in a failure of success criterion 1.4.4 Resize text:
- There is no other mechanism for resizing text available on the page, that can be used to resize text to 200% without loss of information or functionality. This includes font resizing in the browser, or a javascript mechanism of resizing in the page.
- Text nodes can not be horizontally or vertically clipped by overflow without loss of information, except for text nodes with an ancestor with
aria-hidden set to true, or when specific styles have been applied to ensure text is clipped cleanly (text-overflow, line wrapping or hidden text). - While success criterion 1.4.4 Resize text does not explicitly mention which viewport size has to be resized up to 200%, it is assumed that a viewport size of 1280 by 1024 is applicable. A 1280 by 1024 viewport size is explicitly mentioned under success criterion 1.4.10 Reflow.