|
| 1 | +title: Input prefix suffix |
| 2 | +component_status: pass |
| 3 | +test_items: |
| 4 | +# General tests |
| 5 | + - summary: Display is consistent in mobile views. |
| 6 | + summary_additional: When you view the input prefix-suffix component on mobile devices, it displays in both portrait and landscape orientation with no loss of functionality. |
| 7 | + test_status: pass |
| 8 | + test_type: general |
| 9 | + version_tested: 3.11.0 |
| 10 | + wcag_criterion: 1.3.4 |
| 11 | + - summary: Color alone is not used to convey information. |
| 12 | + summary_additional: When viewing an input prefix-suffix, you do not have to rely on color alone to understand part of its meaning. |
| 13 | + test_status: pass |
| 14 | + test_type: general |
| 15 | + version_tested: 3.11.0 |
| 16 | + wcag_criterion: 1.4.1 |
| 17 | + - summary: Input prefix suffix meets color contrast requirements. |
| 18 | + summary_additional: When you view the input prefix suffix on a page and use ANDI or color contrast analyzer to look at the hex colors, contrast between the button background and text is at least 4.5:1. |
| 19 | + test_status: pass |
| 20 | + test_type: general |
| 21 | + version_tested: 3.11.0 |
| 22 | + wcag_criterion: 1.4.3 |
| 23 | + - summary: Input prefix-suffix elements have proper contrast. |
| 24 | + summary_additional: When you use a color contrast analyzer, the contrast between the outline of the text field, text inputs, and icons are at least 3:1 from their respective surrounding backgrounds. |
| 25 | + test_status: pass |
| 26 | + test_type: general |
| 27 | + version_tested: 3.11.0 |
| 28 | + wcag_criterion: 1.4.11 |
| 29 | + - summary: Labels or instructions are provided. |
| 30 | + summary_additional: Clear, concise instructions on the type and format of required data is visible above the input prefix-suffix. |
| 31 | + test_status: pass |
| 32 | + test_type: general |
| 33 | + version_tested: 3.11.0 |
| 34 | + wcag_criterion: 3.3.2 |
| 35 | +# Zoom/screen magnification tests |
| 36 | + - summary: Content remains visible and functional when screen is magnified. |
| 37 | + summary_additional: When you zoom in to 200%, text stays in position inside the text field, and the input prefix-suffix icon or text retains its position inside the field. |
| 38 | + test_status: pass |
| 39 | + test_type: zoom |
| 40 | + version_tested: 3.11.0 |
| 41 | + wcag_criterion: 1.4.4 |
| 42 | +# Keyboard navigation tests |
| 43 | + - summary: Field can be accessed with keyboard navigation. |
| 44 | + summary_additional: Using only a keyboard, you're able to tab into and out of the text input field associated with the input prefix-suffix. |
| 45 | + test_status: pass |
| 46 | + test_type: keyboard |
| 47 | + version_tested: 3.11.0 |
| 48 | + wcag_criterion: 2.1.1 |
| 49 | + - summary: Input prefix-suffix does not trap keyboard focus. |
| 50 | + summary_additional: When you access the text input area with a keyboard, you can easily move in and out to get to other content. |
| 51 | + test_status: pass |
| 52 | + test_type: keyboard |
| 53 | + version_tested: 3.11.0 |
| 54 | + wcag_criterion: 2.1.2 |
| 55 | + - summary: Focus indicators are clearly visible. |
| 56 | + summary_additional: When you use a keyboard to navigate through the input prefix-suffix, there will be a visible outline or other clear indication around each element where the focus is. |
| 57 | + test_status: pass |
| 58 | + test_type: keyboard |
| 59 | + version_tested: 3.11.0 |
| 60 | + wcag_criterion: 2.4.7 |
| 61 | +# Screen reader tests |
| 62 | + - summary: Images are hidden from screen readers. |
| 63 | + summary_additional: When using a screen reader, you hear no indication nor description of an icon. |
| 64 | + test_status: conditional |
| 65 | + test_type: screen_reader |
| 66 | + version_tested: 3.11.0 |
| 67 | + wcag_criterion: 1.1.1 |
| 68 | + - summary: Screen reader announces text, label or supportive text. |
| 69 | + summary_additional: When interacting with the input prefix-suffix with a screen reader, you hear the field labels, text related to the field, and whether or not the field is required. |
| 70 | + test_status: pass |
| 71 | + test_type: screen_reader |
| 72 | + version_tested: 3.11.0 |
| 73 | + wcag_criterion: 1.3.1 |
| 74 | + - summary: Each icon has a consistent meaning across pages. |
| 75 | + summary_additional: When you use a screen reader or view a input prefix-suffix icon, the icon’s meaning is the same across all pages. |
| 76 | + test_status: pass |
| 77 | + test_type: screen_reader |
| 78 | + version_tested: 3.11.0 |
| 79 | + wcag_criterion: 3.2.4 |
0 commit comments