|
| 1 | +## a11y_aria_attributes |
| 2 | + |
| 3 | +<%name%> should not have aria-* attributes |
| 4 | + |
| 5 | +## a11y_unknown_aria_attribute |
| 6 | + |
| 7 | +Unknown aria attribute 'aria-%attribute%' |
| 8 | + |
| 9 | +## a11y_unknown_aria_attribute_suggestion |
| 10 | + |
| 11 | +Unknown aria attribute 'aria-%attribute%'. Did you mean '%suggestion%'? |
| 12 | + |
| 13 | +## a11y_hidden |
| 14 | + |
| 15 | +<%name%> element should not be hidden |
| 16 | + |
| 17 | +## a11y_incorrect_aria_attribute_type_boolean |
| 18 | + |
| 19 | +The value of '%attribute%' must be either 'true' or 'false' |
| 20 | + |
| 21 | +## a11y_incorrect_aria_attribute_type_integer |
| 22 | + |
| 23 | +The value of '%attribute%' must be an integer |
| 24 | + |
| 25 | +## a11y_incorrect_aria_attribute_type_id |
| 26 | + |
| 27 | +The value of '%attribute%' must be a string that represents a DOM element ID |
| 28 | + |
| 29 | +## a11y_incorrect_aria_attribute_type_idlist |
| 30 | + |
| 31 | +The value of '%attribute%' must be a space-separated list of strings that represent DOM element IDs |
| 32 | + |
| 33 | +## a11y_incorrect_aria_attribute_type_tristate |
| 34 | + |
| 35 | +The value of '%attribute%' must be exactly one of true, false, or mixed |
| 36 | + |
| 37 | +## a11y_incorrect_aria_attribute_type_token |
| 38 | + |
| 39 | +The value of '%attribute%' must be exactly one of %values% |
| 40 | + |
| 41 | +## a11y_incorrect_aria_attribute_type_tokenlist |
| 42 | + |
| 43 | +The value of '%attribute%' must be a space-separated list of one or more of %values% |
| 44 | + |
| 45 | +## a11y_incorrect_aria_attribute_type |
| 46 | + |
| 47 | +The value of '%attribute%' must be of type %type% |
| 48 | + |
| 49 | +## a11y_aria_activedescendant_has_tabindex |
| 50 | + |
| 51 | +Elements with attribute aria-activedescendant should have tabindex value |
| 52 | + |
| 53 | +## a11y_misplaced_role |
| 54 | + |
| 55 | +<%name%> should not have role attribute |
| 56 | + |
| 57 | +## a11y_no_abstract_role |
| 58 | + |
| 59 | +Abstract role '%role%' is forbidden |
| 60 | + |
| 61 | +## a11y_unknown_role |
| 62 | + |
| 63 | +Unknown role '%role%' |
| 64 | + |
| 65 | +## a11y_unknown_role_suggestion |
| 66 | + |
| 67 | +Unknown role '%role%'. Did you mean '%suggestion%'? |
| 68 | + |
| 69 | +## a11y_no_redundant_roles |
| 70 | + |
| 71 | +Redundant role '%role%' |
| 72 | + |
| 73 | +## a11y_role_has_required_aria_props |
| 74 | + |
| 75 | +Elements with the ARIA role "%role%" must have the following attributes defined: %props% |
| 76 | + |
| 77 | +## a11y_interactive_supports_focus |
| 78 | + |
| 79 | +Elements with the '%role%' interactive role must have a tabindex value. |
| 80 | + |
| 81 | +## a11y_no_interactive_element_to_noninteractive_role |
| 82 | + |
| 83 | +<%element%> cannot have role '%role%' |
| 84 | + |
| 85 | +## a11y_no_noninteractive_element_to_interactive_role |
| 86 | + |
| 87 | +Non-interactive element <%element%> cannot have interactive role '%role%' |
| 88 | + |
| 89 | +## a11y_accesskey |
| 90 | + |
| 91 | +Avoid using accesskey |
| 92 | + |
| 93 | +## a11y_autofocus |
| 94 | + |
| 95 | +Avoid using autofocus |
| 96 | + |
| 97 | +## a11y_misplaced_scope |
| 98 | + |
| 99 | +The scope attribute should only be used with <th> elements |
| 100 | + |
| 101 | +## a11y_positive_tabindex |
| 102 | + |
| 103 | +Avoid tabindex values above zero |
| 104 | + |
| 105 | +## a11y_click_events_have_key_events |
| 106 | + |
| 107 | +Visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as <button type="button"> or <a> might be more appropriate. See https://svelte.dev/docs/accessibility-warnings#a11y-click-events-have-key-events for more details. |
| 108 | + |
| 109 | +## a11y_no_noninteractive_tabindex |
| 110 | + |
| 111 | +noninteractive element cannot have nonnegative tabIndex value |
| 112 | + |
| 113 | +## a11y_role_supports_aria_props |
| 114 | + |
| 115 | +The attribute '%attribute%' is not supported by the role '%role%' |
| 116 | + |
| 117 | +## a11y_role_supports_aria_props_implicit |
| 118 | + |
| 119 | +The attribute '%attribute%' is not supported by the role '%role%'. This role is implicit on the element <%name%> |
| 120 | + |
| 121 | +## a11y_no_noninteractive_element_interactions |
| 122 | + |
| 123 | +Non-interactive element <%element%> should not be assigned mouse or keyboard event listeners. |
| 124 | + |
| 125 | +## a11y_no_static_element_interactions |
| 126 | + |
| 127 | +<%element%> with a %handler% handler must have an ARIA role |
| 128 | + |
| 129 | +## a11y_invalid_attribute |
| 130 | + |
| 131 | +'%href_value%' is not a valid %href_attribute% attribute |
| 132 | + |
| 133 | +## a11y_missing_attribute |
| 134 | + |
| 135 | +<%name%> element should have %article% %sequence% attribute |
| 136 | + |
| 137 | +## a11y_autocomplete_valid |
| 138 | + |
| 139 | +The value '%value%' is not supported by the attribute 'autocomplete' on element <input type="%type%"> |
| 140 | + |
| 141 | +## a11y_img_redundant_alt |
| 142 | + |
| 143 | +Screenreaders already announce <img> elements as an image. |
| 144 | + |
| 145 | +## a11y_label_has_associated_control |
| 146 | + |
| 147 | +A form label must be associated with a control. |
| 148 | + |
| 149 | +## a11y_media_has_caption |
| 150 | + |
| 151 | +<video> elements must have a <track kind="captions"> |
| 152 | + |
| 153 | +## a11y_distracting_elements |
| 154 | + |
| 155 | +Avoid <%name%> elements |
| 156 | + |
| 157 | +## a11y_figcaption_parent |
| 158 | + |
| 159 | +`<figcaption>` must be an immediate child of `<figure>` |
| 160 | + |
| 161 | +## a11y_figcaption_index |
| 162 | + |
| 163 | +`<figcaption>` must be first or last child of `<figure>` |
| 164 | + |
| 165 | +## a11y_mouse_events_have_key_events |
| 166 | + |
| 167 | +'%event%' event must be accompanied by '%accompanied_by%' event |
| 168 | + |
| 169 | +## a11y_missing_content |
| 170 | + |
| 171 | +<%name%> element should have child content |
0 commit comments