Accessibility rules catalog
The deterministic scanner’s WCAG coverage — what b8e scan checks. Generated from
b8e rules --format json.
| Rule id | WCAG SC | Impact | Fix |
|---|---|---|---|
accesskeys | serious | accesskey attribute value should be unique | |
android-xml/clickable-no-role | 4.1.2 | critical | give the tap a class that already announces its type — <Button>, <ImageButton> or a Material/AppCompat button subclass in place of the TextView, ImageView or bare View — or, where the tag has to stay, install an accessibility delegate whose onInitializeAccessibilityNodeInfo sets info.className (or info.roleDescription) to the control it acts as |
android-xml/control-no-name | 4.1.2 | critical | add android:contentDescription, android:text, or android:hint, point another view’s android:labelFor at its android:id, or give it a labelled child so assistive tech can announce the control |
android-xml/font-scaling | 1.4.4 | moderate | state the size in sp — android:textSize="16sp" rather than 16dp, 16px or a bare 16 — or move it into a @dimen/…, android:textAppearance or style that does; where a numeral has to stay inside a fixed glyph box, the box is what wants revisiting, not the unit |
android-xml/image-no-label | 1.1.1 | serious | set android:contentDescription naming the image, or android:contentDescription="@null" if it is purely decorative |
android-xml/input-no-label | 1.3.1, 4.1.2, 3.3.2 | critical | add android:hint, point an android:labelFor label at the field, or wrap it in a TextInputLayout that carries the hint |
android-xml/interactive-hidden | 4.1.2 | critical | take the removal off the control’s own branch — drop android:importantForAccessibility="no" from the control, or move an ancestor’s "noHideDescendants" down onto the decorative siblings it was meant for; a control that is genuinely redundant belongs out of the layout rather than out of the accessibility tree |
android-xml/runtime-dependent-name | 4.1.2 | critical | give the control a name that exists at runtime, not only at design time — android:contentDescription, a static android:text, or a statically labelled child (a tools:text preview and an empty text child both announce nothing) |
android-xml/touch-target-small | 2.5.8 | serious | grow the target to at least 48dp via android:minWidth / android:minHeight, android:padding, or a larger layout size |
area-alt | 2.4.4, 4.1.2 | critical | Active <area> elements must have alternative text |
aria-allowed-attr | 4.1.2 | critical | Elements must only use supported ARIA attributes |
aria-allowed-role | minor | ARIA role should be appropriate for the element | |
aria-braille-equivalent | 4.1.2 | serious | aria-braille attributes must have a non-braille equivalent |
aria-command-name | 4.1.2 | serious | ARIA commands must have an accessible name |
aria-conditional-attr | 4.1.2 | serious | ARIA attributes must be used as specified for the element’s role |
aria-deprecated-role | 4.1.2 | minor | Deprecated ARIA roles must not be used |
aria-dialog-name | serious | ARIA dialog and alertdialog nodes should have an accessible name | |
aria-hidden-body | 1.3.1, 4.1.2 | critical | aria-hidden=“true” must not be present on the document body |
aria-hidden-focus | 4.1.2 | serious | ARIA hidden element must not be focusable or contain focusable elements |
aria-input-field-name | 4.1.2 | serious | ARIA input fields must have an accessible name |
aria-meter-name | 1.1.1 | serious | ARIA meter nodes must have an accessible name |
aria-progressbar-name | 1.1.1 | serious | ARIA progressbar nodes must have an accessible name |
aria-prohibited-attr | 4.1.2 | serious | Elements must only use permitted ARIA attributes |
aria-required-attr | 4.1.2 | critical | Required ARIA attributes must be provided |
aria-required-children | 1.3.1 | critical | Certain ARIA roles must contain particular children |
aria-required-parent | 1.3.1 | critical | Certain ARIA roles must be contained by particular parents |
aria-roledescription | 4.1.2 | serious | aria-roledescription must be on elements with a semantic role |
aria-roles | 4.1.2 | critical | ARIA roles used must conform to valid values |
aria-text | serious | ”role=text” should have no focusable descendants | |
aria-toggle-field-name | 4.1.2 | serious | ARIA toggle fields must have an accessible name |
aria-tooltip-name | 4.1.2 | serious | ARIA tooltip nodes must have an accessible name |
aria-treeitem-name | serious | ARIA treeitem nodes should have an accessible name | |
aria-valid-attr | 4.1.2 | critical | ARIA attributes must conform to valid names |
aria-valid-attr-value | 4.1.2 | critical | ARIA attributes must conform to valid values |
astro/area-no-alt | 1.1.1 | critical | Active <area> elements must have alternative text |
astro/control-no-name | 4.1.2 | critical | give the control text content, an aria-label, or a labelled child naming its purpose |
astro/duplicate-id | 4.1.1 | minor | id attribute value must be unique |
astro/empty-heading | 1.3.1, 2.4.6 | minor | Headings should not be empty |
astro/heading-order | 1.3.1 | moderate | Heading levels should only increase by one |
astro/html-no-lang | 3.1.1 | serious | <html> element must have a lang attribute |
astro/iframe-no-title | 4.1.2 | serious | Frames must have an accessible name |
astro/img-no-alt | 1.1.1 | critical | Images must have alternative text |
astro/input-no-label | 1.3.1, 4.1.2 | critical | Form elements must have labels |
astro/label-for-dangling | 1.3.1 | critical | point the label’s for at the id of the control it labels, or nest the control inside the <label> |
astro/list-structure | 1.3.1 | serious | <ul> and <ol> must only directly contain <li>, <script> or <template> elements |
astro/media-no-captions | 1.2.2, 1.2.3 | critical | <video> elements must have captions |
astro/positive-tabindex | 2.4.3 | serious | Elements should not have tabindex greater than zero |
astro/svg-no-name | 1.1.1 | serious | <svg> elements with an img role must have alternative text |
astro/viewport-no-scale | 1.4.4 | moderate | Zooming and scaling must not be disabled |
audio-caption | 1.2.1 | critical | <audio> elements must have a captions track |
autocomplete-valid | 1.3.5 | serious | autocomplete attribute must be used correctly |
avoid-inline-spacing | 1.4.12 | serious | Inline text spacing must be adjustable with custom stylesheets |
blink | 2.2.2 | serious | <blink> elements are deprecated and must not be used |
button-name | 4.1.2 | critical | Buttons must have discernible text |
bypass | 2.4.1 | serious | Page must have means to bypass repeated blocks |
color-contrast | 1.4.3 | serious | Elements must meet minimum color contrast ratio thresholds |
color-contrast-enhanced | 1.4.6 | serious | Elements must meet enhanced color contrast ratio thresholds |
compose/cleared-interactive-semantics | 4.1.2 | unrated | re-add the action inside the block (onClick(label) { … } + role) and, for a stateful control, the state (stateDescription = …); or let the merged ancestor own both and clear the child; or narrow the cleared scope |
compose/clickable-no-role | 4.1.2 | unrated | declare the control’s type on the chain that makes it tappable — role = Role.Button in Modifier.clickable(...) / combinedClickable(...), or Modifier.semantics { role = Role.Button } on the same chain |
compose/control-no-name | 4.1.2 | unrated | name the action: a Text child, Modifier.semantics { contentDescription = … }, .clickable(onClickLabel = …), or a contentDescription on the glyph child |
compose/control-no-role | 4.1.2 | unrated | pass role = Role.Checkbox / Role.Switch / Role.RadioButton to the modifier |
compose/font-scaling | 1.4.4 | unrated | state the size in a unit the user’s font scale moves — .sp (or .em) rather than a Dp/px value put through toSp(), a fontScale divided out, or a cap on that scale; where a glyph or a monogram genuinely has to stay inside a fixed box, the box is what wants revisiting, not the unit |
compose/image-no-label | 1.1.1 | unrated | name the action or content (contentDescription = "Delete"), never filler; contentDescription = null for a genuinely decorative glyph |
compose/nested-interactive | 4.1.2 | unrated | expose one action per element: hoist the extras into Modifier.semantics { customActions = listOf(CustomAccessibilityAction(label) { …; true }) } on the merged container, or restructure so each control is its own accessibility element (drop the container’s own clickable, or move the secondary control out of the merged node) |
compose/touch-target-small | 2.5.8 | unrated | grow the tappable box to at least 48dp — a larger size, a defaultMinSize(48.dp) outside the pin, or Modifier.minimumInteractiveComponentSize() placed BEFORE the size modifiers it is meant to reserve space for (Modifier.size(16.dp).minimumInteractiveComponentSize() reserves nothing, because the size pin has already fixed the constraints it would have grown); padding grows the target only when it sits after the interactive modifier in the chain (.clickable { }.padding(12.dp)…) — placed before it, padding insets the click region instead |
compose/wrapper-unlabeled | 1.3.1, 4.1.2 | unrated | name the field the wrapper hides, not the wrapper: add a label parameter to the wrapper and forward it into the inner TextField(label = …), then pass a name at each call site — a label on the wrapper itself would announce the whole component instead of the input |
css-orientation-lock | 1.3.4 | serious | CSS Media queries must not lock display orientation |
definition-list | 1.3.1 | serious | <dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements |
dlitem | 1.3.1 | serious | <dt> and <dd> elements must be contained by a <dl> |
document-title | 2.4.2 | serious | Documents must have <title> element to aid in navigation |
duplicate-id | 4.1.1 | minor | id attribute value must be unique |
duplicate-id-active | 4.1.1 | serious | IDs of active elements must be unique |
duplicate-id-aria | 4.1.2 | critical | IDs used in ARIA and labels must be unique |
empty-heading | minor | Headings should not be empty | |
empty-table-header | minor | Table header text should not be empty | |
enforce/button-no-name | 4.1.2 | critical | Buttons must have discernible text |
enforce/dialog-no-name | 4.1.2, 1.3.1 | serious | ARIA dialog and alertdialog nodes should have an accessible name |
enforce/image-no-alt | 1.1.1 | critical | Images must have alternative text |
enforce/input-no-name | 1.3.1, 3.3.2 | critical | Form elements must have labels |
enforce/link-no-name | 2.4.4 | serious | Links must have discernible text |
enforce/prefer-tag-over-role | 1.3.1 | critical | use the native element that conveys the role implicitly (<nav>, <main>, <header>, <footer>, <section>, <button>, <ul>/<li>, <h1>–<h6>) instead of hand-setting role on a bare <div>/<span> |
focus-order-semantics | minor | Elements in the focus order should have an appropriate role | |
form-field-multiple-labels | 3.3.2 | moderate | Form field must not have multiple label elements |
frame-focusable-content | 2.1.1 | serious | Frames with focusable content must not have tabindex=-1 |
frame-tested | critical | Frames should be tested with axe-core | |
frame-title | 4.1.2 | serious | Frames must have an accessible name |
frame-title-unique | 4.1.2 | serious | Frames must have a unique title attribute |
heading-order | moderate | Heading levels should only increase by one | |
hidden-content | minor | Hidden content on the page should be analyzed | |
html-has-lang | 3.1.1 | serious | <html> element must have a lang attribute |
html-lang-valid | 3.1.1 | serious | <html> element must have a valid value for the lang attribute |
html-xml-lang-mismatch | 3.1.1 | moderate | HTML elements with lang and xml:lang must have the same base language |
identical-links-same-purpose | 2.4.9 | minor | Links with the same name must have a similar purpose |
image-alt | 1.1.1 | critical | Images must have alternative text |
image-redundant-alt | minor | Alternative text of images should not be repeated as text | |
input-button-name | 4.1.2 | critical | Input buttons must have discernible text |
input-image-alt | 1.1.1, 4.1.2 | critical | Image buttons must have alternative text |
jsx-a11y/alt-text | 1.1.1 | critical | Images must have alternative text |
jsx-a11y/anchor-has-content | 2.4.4 | serious | Links must have discernible text |
jsx-a11y/anchor-is-valid | 2.4.4 | critical | — |
jsx-a11y/aria-props | 4.1.2 | critical | ARIA attributes must conform to valid values |
jsx-a11y/click-events-have-key-events | 2.1.1 | serious | — |
jsx-a11y/heading-has-content | 1.3.1 | minor | Headings should not be empty |
jsx-a11y/interactive-supports-focus | 2.1.1 | serious | — |
jsx-a11y/label-has-associated-control | 1.3.1, 4.1.2 | critical | Form elements must have labels |
jsx-a11y/no-static-element-interactions | 2.1.1 | serious | — |
jsx-a11y/role-has-required-aria-props | 4.1.2 | critical | Required ARIA attributes must be provided |
jsx-a11y/role-supports-aria-props | 4.1.2 | critical | Elements must only use supported ARIA attributes |
jsx/duplicate-id | 4.1.1 | minor | id attribute value must be unique |
jsx/heading-order | 1.3.1 | moderate | Heading levels should only increase by one |
jsx/html-no-lang | 3.1.1 | serious | <html> element must have a lang attribute |
jsx/iframe-no-title | 4.1.2 | serious | Frames must have an accessible name |
jsx/list-structure | 1.3.1 | serious | <ul> and <ol> must only directly contain <li>, <script> or <template> elements |
jsx/media-no-captions | 1.2.2, 1.2.3 | critical | <video> elements must have captions |
jsx/multiple-h1 | 1.3.1 | moderate | keep one <h1> per page and render the other section titles as <h2>, for example through a prop that sets the heading level |
jsx/positive-tabindex | 2.4.3 | serious | Elements should not have tabindex greater than zero |
jsx/svg-no-name | 1.1.1 | serious | <svg> elements with an img role must have alternative text |
jsx/viewport-no-scale | 1.4.4 | moderate | Zooming and scaling must not be disabled |
label | 4.1.2 | critical | Form elements must have labels |
label-content-name-mismatch | 2.5.3 | serious | Elements must have their visible text as part of their accessible name |
label-title-only | serious | Form elements should have a visible label | |
landmark-banner-is-top-level | moderate | Banner landmark should not be contained in another landmark | |
landmark-complementary-is-top-level | moderate | Aside should not be contained in another landmark | |
landmark-contentinfo-is-top-level | moderate | Contentinfo landmark should not be contained in another landmark | |
landmark-main-is-top-level | moderate | Main landmark should not be contained in another landmark | |
landmark-no-duplicate-banner | moderate | Document should not have more than one banner landmark | |
landmark-no-duplicate-contentinfo | moderate | Document should not have more than one contentinfo landmark | |
landmark-no-duplicate-main | moderate | Document should not have more than one main landmark | |
landmark-one-main | moderate | Document should have one main landmark | |
landmark-unique | moderate | Landmarks should have a unique role or role/label/title (i.e. accessible name) combination | |
link-in-text-block | 1.4.1 | serious | Links must be distinguishable without relying on color |
link-name | 2.4.4, 4.1.2 | serious | Links must have discernible text |
liquid/area-no-alt | 1.1.1 | critical | Active <area> elements must have alternative text |
liquid/control-no-name | 4.1.2 | critical | give the control text content, an aria-label, or a labelled child naming its purpose |
liquid/duplicate-id | 4.1.1 | minor | id attribute value must be unique |
liquid/empty-heading | 1.3.1, 2.4.6 | minor | Headings should not be empty |
liquid/heading-order | 1.3.1 | moderate | Heading levels should only increase by one |
liquid/html-no-lang | 3.1.1 | serious | <html> element must have a lang attribute |
liquid/iframe-no-title | 4.1.2 | serious | Frames must have an accessible name |
liquid/img-no-alt | 1.1.1 | critical | Images must have alternative text |
liquid/input-no-label | 1.3.1, 4.1.2 | critical | Form elements must have labels |
liquid/label-for-dangling | 1.3.1 | critical | point the label’s for at the id of the control it labels, or nest the control inside the <label> |
liquid/list-structure | 1.3.1 | serious | <ul> and <ol> must only directly contain <li>, <script> or <template> elements |
liquid/media-no-captions | 1.2.2, 1.2.3 | critical | <video> elements must have captions |
liquid/positive-tabindex | 2.4.3 | serious | Elements should not have tabindex greater than zero |
liquid/svg-no-name | 1.1.1 | serious | <svg> elements with an img role must have alternative text |
liquid/viewport-no-scale | 1.4.4 | moderate | Zooming and scaling must not be disabled |
list | 1.3.1 | serious | <ul> and <ol> must only directly contain <li>, <script> or <template> elements |
listitem | 1.3.1 | serious | <li> elements must be contained in a <ul> or <ol> |
marquee | 2.2.2 | serious | <marquee> elements are deprecated and must not be used |
meta-refresh | 2.2.1 | critical | Delayed refresh under 20 hours must not be used |
meta-refresh-no-exceptions | 2.2.4, 3.2.5 | minor | Delayed refresh must not be used |
meta-viewport | 1.4.4 | moderate | Zooming and scaling must not be disabled |
meta-viewport-large | minor | Users should be able to zoom and scale the text up to 500% | |
nested-interactive | 4.1.2 | serious | Interactive controls must not be nested |
no-autoplay-audio | 1.4.2 | moderate | <video> or <audio> elements must not play automatically |
object-alt | 1.1.1 | serious | <object> elements must have alternative text |
p-as-heading | 1.3.1 | serious | Styled <p> elements must not be used as headings |
page-has-heading-one | moderate | Page should contain a level-one heading | |
presentation-role-conflict | minor | Elements marked as presentational should be consistently ignored | |
react-native/control-no-name | 4.1.2 | unrated | accessibilityLabel="…" on the pressable naming its action, or a Text child that says it |
react-native/field-no-label | 1.3.1, 4.1.2 | unrated | accessibilityLabel="…" on the TextInput naming what it is for; a placeholder is not a label |
react-native/font-scaling-disabled | 1.4.4 | unrated | remove allowFontScaling={false} (and any Text.defaultProps.allowFontScaling = false); where a layout cannot grow further, cap it with maxFontSizeMultiplier of 2 or more |
react-native/heading-structure | 1.3.1, 2.4.6 | unrated | accessibilityRole="header" (or role="heading") on the Text that is styled as a heading |
react-native/image-no-label | 1.1.1 | unrated | accessibilityLabel="…" naming the content; drop accessible / the image role if it is decorative |
react-native/missing-role | 4.1.2 | unrated | accessibilityRole="button" (or "link", "tab", …) on the pressable, matching what it does |
react-native/touch-target-small | 2.5.8, 2.5.5 | unrated | grow the pressable’s width / height to at least 24, add padding that reaches 24, or set hitSlop so the hit area reaches 24 on each axis |
react-native/wrapper-unlabeled | 1.1.1, 4.1.2 | unrated | give the component a label prop and forward it into the inner control’s accessibilityLabel (or render children as its Text), then pass a name at this call site |
region | moderate | All page content should be contained by landmarks | |
role-img-alt | 1.1.1 | serious | [role=“img”] elements must have alternative text |
scope-attr-valid | moderate | scope attribute should be used correctly | |
scrollable-region-focusable | 2.1.1, 2.1.3 | serious | Scrollable region must have keyboard access |
select-name | 4.1.2 | critical | Select element must have an accessible name |
server-side-image-map | 2.1.1 | minor | Server-side image maps must not be used |
skip-link | moderate | The skip-link target should exist and be focusable | |
summary-name | 4.1.2 | serious | Summary elements must have discernible text |
svg-img-alt | 1.1.1 | serious | <svg> elements with an img role must have alternative text |
swiftui/color-only-state | 1.4.1 | unrated | add a non-color cue (label text, SF Symbol, or shape) alongside the color |
swiftui/control-no-name | 4.1.2 | unrated | .accessibilityLabel(...) naming the action |
swiftui/dynamic-type-fixed-font | 1.4.4 | unrated | use a scaling text style (.body / .title) or Font.custom(size:relativeTo:) / @ScaledMetric |
swiftui/field-no-label | 1.3.1, 4.1.2 | unrated | .accessibilityLabel(...) or an associated visible Label naming the field |
swiftui/heading-structure | 1.3.1, 2.4.6 | unrated | .accessibilityAddTraits(.isHeader) (or .accessibilityHeading(...)) |
swiftui/image-no-label | 1.1.1 | unrated | .accessibilityLabel(...) naming the content; Image(decorative:) / .accessibilityHidden(true) if decorative |
swiftui/interactive-hidden | 4.1.2 | unrated | remove .accessibilityHidden(true) from the interactive view; hide only the purely-decorative sibling |
swiftui/missing-trait | 4.1.2 | unrated | .accessibilityAddTraits(.isButton) so assistive tech announces it as actionable |
swiftui/touch-target-small | 2.5.8, 2.5.5 | unrated | enlarge the frame or add .padding to grow the tappable area |
swiftui/wrapper-unlabeled | 1.1.1, 4.1.2 | unrated | label at the wrapper definition (or forward a label parameter); every call site benefits |
tabindex | serious | Elements should not have tabindex greater than zero | |
table-duplicate-name | minor | Tables should not have the same summary and caption | |
table-fake-caption | 1.3.1 | serious | Data or header cells must not be used to give caption to a data table. |
target-size | 2.5.8 | serious | All touch targets must be 24px large, or leave sufficient space |
td-has-header | 1.3.1 | critical | Non-empty <td> elements in larger <table> must have an associated table header |
td-headers-attr | 1.3.1 | serious | Table cell headers attributes must refer to other <th> elements in the same table |
th-has-data-cells | 1.3.1 | serious | Table headers in a data table must refer to data cells |
uikit-ib/control-no-name | 4.1.2 | critical | in the Identity Inspector’s Accessibility pane, set Label to the action the control performs (“Close”, “Help”) — or give the control a visible title in the Attributes Inspector. An icon-only button carries no name at all: the SF Symbol is what a sighted user sees and is nothing a screen reader can speak |
uikit/bar-item-no-name | 4.1.2 | unrated | name the action the item performs, not the icon it shows — item.accessibilityLabel = "Share" (or construct it with UIBarButtonItem(title:…) when a visible title is wanted) |
uikit/control-no-name | 4.1.2 | unrated | name the action the button performs — button.accessibilityLabel = "Open profile menu" — or give it a visible title with setTitle(_:for:); a transparent button laid over an image needs the label even though the image beneath it is what the user sees |
uikit/dynamic-type-fixed-font | 1.4.4 | unrated | let the font scale — UIFont.preferredFont(forTextStyle: .body), or keep the custom face and wrap it in UIFontMetrics(forTextStyle: .body).scaledFont(for: font) — and set adjustsFontForContentSizeCategory = true so it re-resolves when the setting changes; the box has to be able to grow with it, so replace a fixed height with a content-driven constraint |
uikit/element-hidden-interactive | 4.1.2 | unrated | remove isAccessibilityElement = false from the control; hide only the purely-decorative subview, or set accessibilityElementsHidden on the container you actually mean to hide |
unity/color-only-state | 1.4.1 | serious | use a SpriteSwap or Animation transition instead of ColorTint so state carries a non-color cue |
unity/missing-accessible-label | 1.1.1, 4.1.2 | serious | add a text-bearing child (TextMeshProUGUI / Text) carrying the control’s label, or set its accessible name explicitly |
unity/no-input-rebinding | 2.1.1, 2.5.1 | serious | expose a rebinding path via the Input System — ship an .inputactions asset or call PerformInteractiveRebinding |
unity/no-screen-reader-support | 1.3.1, 4.1.2 | critical | build an AccessibilityHierarchy of AccessibilityNodes and register it via AssistiveSupport (UnityEngine.Accessibility) |
valid-lang | 3.1.2 | serious | lang attribute must have a valid value |
video-caption | 1.2.2 | critical | <video> elements must have captions |
unrated: the rule’s engine rates each finding itself, so the rule has no one impact.
Raw catalog (b8e rules --format json)
Section titled “Raw catalog (b8e rules --format json)”[ { "ruleId": "accesskeys", "sc": [], "impact": "serious", "fix": "accesskey attribute value should be unique", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/accesskeys?application=axeAPI" }, { "ruleId": "android-xml/clickable-no-role", "sc": [ "4.1.2" ], "impact": "critical", "fix": "give the tap a class that already announces its type — `<Button>`, `<ImageButton>` or a Material/AppCompat button subclass in place of the `TextView`, `ImageView` or bare `View` — or, where the tag has to stay, install an accessibility delegate whose `onInitializeAccessibilityNodeInfo` sets `info.className` (or `info.roleDescription`) to the control it acts as", "helpUrl": null }, { "ruleId": "android-xml/control-no-name", "sc": [ "4.1.2" ], "impact": "critical", "fix": "add `android:contentDescription`, `android:text`, or `android:hint`, point another view's `android:labelFor` at its `android:id`, or give it a labelled child so assistive tech can announce the control", "helpUrl": null }, { "ruleId": "android-xml/font-scaling", "sc": [ "1.4.4" ], "impact": "moderate", "fix": "state the size in `sp` — `android:textSize=\"16sp\"` rather than `16dp`, `16px` or a bare `16` — or move it into a `@dimen/…`, `android:textAppearance` or `style` that does; where a numeral has to stay inside a fixed glyph box, the box is what wants revisiting, not the unit", "helpUrl": null }, { "ruleId": "android-xml/image-no-label", "sc": [ "1.1.1" ], "impact": "serious", "fix": "set `android:contentDescription` naming the image, or `android:contentDescription=\"@null\"` if it is purely decorative", "helpUrl": null }, { "ruleId": "android-xml/input-no-label", "sc": [ "1.3.1", "4.1.2", "3.3.2" ], "impact": "critical", "fix": "add `android:hint`, point an `android:labelFor` label at the field, or wrap it in a `TextInputLayout` that carries the hint", "helpUrl": null }, { "ruleId": "android-xml/interactive-hidden", "sc": [ "4.1.2" ], "impact": "critical", "fix": "take the removal off the control's own branch — drop `android:importantForAccessibility=\"no\"` from the control, or move an ancestor's `\"noHideDescendants\"` down onto the decorative siblings it was meant for; a control that is genuinely redundant belongs out of the layout rather than out of the accessibility tree", "helpUrl": null }, { "ruleId": "android-xml/runtime-dependent-name", "sc": [ "4.1.2" ], "impact": "critical", "fix": "give the control a name that exists at runtime, not only at design time — `android:contentDescription`, a static `android:text`, or a statically labelled child (a `tools:text` preview and an empty text child both announce nothing)", "helpUrl": null }, { "ruleId": "android-xml/touch-target-small", "sc": [ "2.5.8" ], "impact": "serious", "fix": "grow the target to at least 48dp via `android:minWidth` / `android:minHeight`, `android:padding`, or a larger layout size", "helpUrl": null }, { "ruleId": "area-alt", "sc": [ "2.4.4", "4.1.2" ], "impact": "critical", "fix": "Active <area> elements must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/area-alt?application=axeAPI" }, { "ruleId": "aria-allowed-attr", "sc": [ "4.1.2" ], "impact": "critical", "fix": "Elements must only use supported ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-allowed-attr?application=axeAPI" }, { "ruleId": "aria-allowed-role", "sc": [], "impact": "minor", "fix": "ARIA role should be appropriate for the element", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-allowed-role?application=axeAPI" }, { "ruleId": "aria-braille-equivalent", "sc": [ "4.1.2" ], "impact": "serious", "fix": "aria-braille attributes must have a non-braille equivalent", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-braille-equivalent?application=axeAPI" }, { "ruleId": "aria-command-name", "sc": [ "4.1.2" ], "impact": "serious", "fix": "ARIA commands must have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-command-name?application=axeAPI" }, { "ruleId": "aria-conditional-attr", "sc": [ "4.1.2" ], "impact": "serious", "fix": "ARIA attributes must be used as specified for the element's role", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-conditional-attr?application=axeAPI" }, { "ruleId": "aria-deprecated-role", "sc": [ "4.1.2" ], "impact": "minor", "fix": "Deprecated ARIA roles must not be used", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-deprecated-role?application=axeAPI" }, { "ruleId": "aria-dialog-name", "sc": [], "impact": "serious", "fix": "ARIA dialog and alertdialog nodes should have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-dialog-name?application=axeAPI" }, { "ruleId": "aria-hidden-body", "sc": [ "1.3.1", "4.1.2" ], "impact": "critical", "fix": "aria-hidden=\"true\" must not be present on the document body", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-hidden-body?application=axeAPI" }, { "ruleId": "aria-hidden-focus", "sc": [ "4.1.2" ], "impact": "serious", "fix": "ARIA hidden element must not be focusable or contain focusable elements", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-hidden-focus?application=axeAPI" }, { "ruleId": "aria-input-field-name", "sc": [ "4.1.2" ], "impact": "serious", "fix": "ARIA input fields must have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-input-field-name?application=axeAPI" }, { "ruleId": "aria-meter-name", "sc": [ "1.1.1" ], "impact": "serious", "fix": "ARIA meter nodes must have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-meter-name?application=axeAPI" }, { "ruleId": "aria-progressbar-name", "sc": [ "1.1.1" ], "impact": "serious", "fix": "ARIA progressbar nodes must have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-progressbar-name?application=axeAPI" }, { "ruleId": "aria-prohibited-attr", "sc": [ "4.1.2" ], "impact": "serious", "fix": "Elements must only use permitted ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-prohibited-attr?application=axeAPI" }, { "ruleId": "aria-required-attr", "sc": [ "4.1.2" ], "impact": "critical", "fix": "Required ARIA attributes must be provided", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-required-attr?application=axeAPI" }, { "ruleId": "aria-required-children", "sc": [ "1.3.1" ], "impact": "critical", "fix": "Certain ARIA roles must contain particular children", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-required-children?application=axeAPI" }, { "ruleId": "aria-required-parent", "sc": [ "1.3.1" ], "impact": "critical", "fix": "Certain ARIA roles must be contained by particular parents", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-required-parent?application=axeAPI" }, { "ruleId": "aria-roledescription", "sc": [ "4.1.2" ], "impact": "serious", "fix": "aria-roledescription must be on elements with a semantic role", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-roledescription?application=axeAPI" }, { "ruleId": "aria-roles", "sc": [ "4.1.2" ], "impact": "critical", "fix": "ARIA roles used must conform to valid values", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-roles?application=axeAPI" }, { "ruleId": "aria-text", "sc": [], "impact": "serious", "fix": "\"role=text\" should have no focusable descendants", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-text?application=axeAPI" }, { "ruleId": "aria-toggle-field-name", "sc": [ "4.1.2" ], "impact": "serious", "fix": "ARIA toggle fields must have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-toggle-field-name?application=axeAPI" }, { "ruleId": "aria-tooltip-name", "sc": [ "4.1.2" ], "impact": "serious", "fix": "ARIA tooltip nodes must have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-tooltip-name?application=axeAPI" }, { "ruleId": "aria-treeitem-name", "sc": [], "impact": "serious", "fix": "ARIA treeitem nodes should have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-treeitem-name?application=axeAPI" }, { "ruleId": "aria-valid-attr", "sc": [ "4.1.2" ], "impact": "critical", "fix": "ARIA attributes must conform to valid names", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-valid-attr?application=axeAPI" }, { "ruleId": "aria-valid-attr-value", "sc": [ "4.1.2" ], "impact": "critical", "fix": "ARIA attributes must conform to valid values", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-valid-attr-value?application=axeAPI" }, { "ruleId": "astro/area-no-alt", "sc": [ "1.1.1" ], "impact": "critical", "fix": "Active <area> elements must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/area-alt?application=axeAPI" }, { "ruleId": "astro/control-no-name", "sc": [ "4.1.2" ], "impact": "critical", "fix": "give the control text content, an `aria-label`, or a labelled child naming its purpose", "helpUrl": null }, { "ruleId": "astro/duplicate-id", "sc": [ "4.1.1" ], "impact": "minor", "fix": "id attribute value must be unique", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/duplicate-id?application=axeAPI" }, { "ruleId": "astro/empty-heading", "sc": [ "1.3.1", "2.4.6" ], "impact": "minor", "fix": "Headings should not be empty", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/empty-heading?application=axeAPI" }, { "ruleId": "astro/heading-order", "sc": [ "1.3.1" ], "impact": "moderate", "fix": "Heading levels should only increase by one", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/heading-order?application=axeAPI" }, { "ruleId": "astro/html-no-lang", "sc": [ "3.1.1" ], "impact": "serious", "fix": "<html> element must have a lang attribute", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/html-has-lang?application=axeAPI" }, { "ruleId": "astro/iframe-no-title", "sc": [ "4.1.2" ], "impact": "serious", "fix": "Frames must have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/frame-title?application=axeAPI" }, { "ruleId": "astro/img-no-alt", "sc": [ "1.1.1" ], "impact": "critical", "fix": "Images must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/image-alt?application=axeAPI" }, { "ruleId": "astro/input-no-label", "sc": [ "1.3.1", "4.1.2" ], "impact": "critical", "fix": "Form elements must have labels", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/label?application=axeAPI" }, { "ruleId": "astro/label-for-dangling", "sc": [ "1.3.1" ], "impact": "critical", "fix": "point the label's `for` at the `id` of the control it labels, or nest the control inside the `<label>`", "helpUrl": null }, { "ruleId": "astro/list-structure", "sc": [ "1.3.1" ], "impact": "serious", "fix": "<ul> and <ol> must only directly contain <li>, <script> or <template> elements", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/list?application=axeAPI" }, { "ruleId": "astro/media-no-captions", "sc": [ "1.2.2", "1.2.3" ], "impact": "critical", "fix": "<video> elements must have captions", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/video-caption?application=axeAPI" }, { "ruleId": "astro/positive-tabindex", "sc": [ "2.4.3" ], "impact": "serious", "fix": "Elements should not have tabindex greater than zero", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/tabindex?application=axeAPI" }, { "ruleId": "astro/svg-no-name", "sc": [ "1.1.1" ], "impact": "serious", "fix": "<svg> elements with an img role must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/svg-img-alt?application=axeAPI" }, { "ruleId": "astro/viewport-no-scale", "sc": [ "1.4.4" ], "impact": "moderate", "fix": "Zooming and scaling must not be disabled", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/meta-viewport?application=axeAPI" }, { "ruleId": "audio-caption", "sc": [ "1.2.1" ], "impact": "critical", "fix": "<audio> elements must have a captions track", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/audio-caption?application=axeAPI" }, { "ruleId": "autocomplete-valid", "sc": [ "1.3.5" ], "impact": "serious", "fix": "autocomplete attribute must be used correctly", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/autocomplete-valid?application=axeAPI" }, { "ruleId": "avoid-inline-spacing", "sc": [ "1.4.12" ], "impact": "serious", "fix": "Inline text spacing must be adjustable with custom stylesheets", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/avoid-inline-spacing?application=axeAPI" }, { "ruleId": "blink", "sc": [ "2.2.2" ], "impact": "serious", "fix": "<blink> elements are deprecated and must not be used", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/blink?application=axeAPI" }, { "ruleId": "button-name", "sc": [ "4.1.2" ], "impact": "critical", "fix": "Buttons must have discernible text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/button-name?application=axeAPI" }, { "ruleId": "bypass", "sc": [ "2.4.1" ], "impact": "serious", "fix": "Page must have means to bypass repeated blocks", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/bypass?application=axeAPI" }, { "ruleId": "color-contrast", "sc": [ "1.4.3" ], "impact": "serious", "fix": "Elements must meet minimum color contrast ratio thresholds", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/color-contrast?application=axeAPI" }, { "ruleId": "color-contrast-enhanced", "sc": [ "1.4.6" ], "impact": "serious", "fix": "Elements must meet enhanced color contrast ratio thresholds", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/color-contrast-enhanced?application=axeAPI" }, { "ruleId": "compose/cleared-interactive-semantics", "sc": [ "4.1.2" ], "impact": null, "fix": "re-add the action inside the block (`onClick(label) { … }` + `role`) and, for a stateful control, the state (`stateDescription = …`); or let the merged ancestor own both and clear the child; or narrow the cleared scope", "helpUrl": null }, { "ruleId": "compose/clickable-no-role", "sc": [ "4.1.2" ], "impact": null, "fix": "declare the control's type on the chain that makes it tappable — `role = Role.Button` in `Modifier.clickable(...)` / `combinedClickable(...)`, or `Modifier.semantics { role = Role.Button }` on the same chain", "helpUrl": null }, { "ruleId": "compose/control-no-name", "sc": [ "4.1.2" ], "impact": null, "fix": "name the action: a `Text` child, `Modifier.semantics { contentDescription = … }`, `.clickable(onClickLabel = …)`, or a `contentDescription` on the glyph child", "helpUrl": null }, { "ruleId": "compose/control-no-role", "sc": [ "4.1.2" ], "impact": null, "fix": "pass `role = Role.Checkbox` / `Role.Switch` / `Role.RadioButton` to the modifier", "helpUrl": null }, { "ruleId": "compose/font-scaling", "sc": [ "1.4.4" ], "impact": null, "fix": "state the size in a unit the user's font scale moves — `.sp` (or `.em`) rather than a `Dp`/px value put through `toSp()`, a `fontScale` divided out, or a cap on that scale; where a glyph or a monogram genuinely has to stay inside a fixed box, the box is what wants revisiting, not the unit", "helpUrl": null }, { "ruleId": "compose/image-no-label", "sc": [ "1.1.1" ], "impact": null, "fix": "name the action or content (`contentDescription = \"Delete\"`), never filler; `contentDescription = null` for a genuinely decorative glyph", "helpUrl": null }, { "ruleId": "compose/nested-interactive", "sc": [ "4.1.2" ], "impact": null, "fix": "expose one action per element: hoist the extras into `Modifier.semantics { customActions = listOf(CustomAccessibilityAction(label) { …; true }) }` on the merged container, or restructure so each control is its own accessibility element (drop the container's own `clickable`, or move the secondary control out of the merged node)", "helpUrl": null }, { "ruleId": "compose/touch-target-small", "sc": [ "2.5.8" ], "impact": null, "fix": "grow the tappable box to at least 48dp — a larger `size`, a `defaultMinSize(48.dp)` outside the pin, or `Modifier.minimumInteractiveComponentSize()` placed BEFORE the size modifiers it is meant to reserve space for (`Modifier.size(16.dp).minimumInteractiveComponentSize()` reserves nothing, because the size pin has already fixed the constraints it would have grown); `padding` grows the target only when it sits after the interactive modifier in the chain (`.clickable { }.padding(12.dp)…`) — placed before it, padding insets the click region instead", "helpUrl": null }, { "ruleId": "compose/wrapper-unlabeled", "sc": [ "1.3.1", "4.1.2" ], "impact": null, "fix": "name the field the wrapper hides, not the wrapper: add a `label` parameter to the wrapper and forward it into the inner `TextField(label = …)`, then pass a name at each call site — a label on the wrapper itself would announce the whole component instead of the input", "helpUrl": null }, { "ruleId": "css-orientation-lock", "sc": [ "1.3.4" ], "impact": "serious", "fix": "CSS Media queries must not lock display orientation", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/css-orientation-lock?application=axeAPI" }, { "ruleId": "definition-list", "sc": [ "1.3.1" ], "impact": "serious", "fix": "<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/definition-list?application=axeAPI" }, { "ruleId": "dlitem", "sc": [ "1.3.1" ], "impact": "serious", "fix": "<dt> and <dd> elements must be contained by a <dl>", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/dlitem?application=axeAPI" }, { "ruleId": "document-title", "sc": [ "2.4.2" ], "impact": "serious", "fix": "Documents must have <title> element to aid in navigation", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/document-title?application=axeAPI" }, { "ruleId": "duplicate-id", "sc": [ "4.1.1" ], "impact": "minor", "fix": "id attribute value must be unique", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/duplicate-id?application=axeAPI" }, { "ruleId": "duplicate-id-active", "sc": [ "4.1.1" ], "impact": "serious", "fix": "IDs of active elements must be unique", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/duplicate-id-active?application=axeAPI" }, { "ruleId": "duplicate-id-aria", "sc": [ "4.1.2" ], "impact": "critical", "fix": "IDs used in ARIA and labels must be unique", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/duplicate-id-aria?application=axeAPI" }, { "ruleId": "empty-heading", "sc": [], "impact": "minor", "fix": "Headings should not be empty", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/empty-heading?application=axeAPI" }, { "ruleId": "empty-table-header", "sc": [], "impact": "minor", "fix": "Table header text should not be empty", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/empty-table-header?application=axeAPI" }, { "ruleId": "enforce/button-no-name", "sc": [ "4.1.2" ], "impact": "critical", "fix": "Buttons must have discernible text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/button-name?application=axeAPI" }, { "ruleId": "enforce/dialog-no-name", "sc": [ "4.1.2", "1.3.1" ], "impact": "serious", "fix": "ARIA dialog and alertdialog nodes should have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-dialog-name?application=axeAPI" }, { "ruleId": "enforce/image-no-alt", "sc": [ "1.1.1" ], "impact": "critical", "fix": "Images must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/image-alt?application=axeAPI" }, { "ruleId": "enforce/input-no-name", "sc": [ "1.3.1", "3.3.2" ], "impact": "critical", "fix": "Form elements must have labels", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/label?application=axeAPI" }, { "ruleId": "enforce/link-no-name", "sc": [ "2.4.4" ], "impact": "serious", "fix": "Links must have discernible text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/link-name?application=axeAPI" }, { "ruleId": "enforce/prefer-tag-over-role", "sc": [ "1.3.1" ], "impact": "critical", "fix": "use the native element that conveys the role implicitly (`<nav>`, `<main>`, `<header>`, `<footer>`, `<section>`, `<button>`, `<ul>`/`<li>`, `<h1>`–`<h6>`) instead of hand-setting `role` on a bare `<div>`/`<span>`", "helpUrl": null }, { "ruleId": "focus-order-semantics", "sc": [], "impact": "minor", "fix": "Elements in the focus order should have an appropriate role", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/focus-order-semantics?application=axeAPI" }, { "ruleId": "form-field-multiple-labels", "sc": [ "3.3.2" ], "impact": "moderate", "fix": "Form field must not have multiple label elements", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/form-field-multiple-labels?application=axeAPI" }, { "ruleId": "frame-focusable-content", "sc": [ "2.1.1" ], "impact": "serious", "fix": "Frames with focusable content must not have tabindex=-1", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/frame-focusable-content?application=axeAPI" }, { "ruleId": "frame-tested", "sc": [], "impact": "critical", "fix": "Frames should be tested with axe-core", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/frame-tested?application=axeAPI" }, { "ruleId": "frame-title", "sc": [ "4.1.2" ], "impact": "serious", "fix": "Frames must have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/frame-title?application=axeAPI" }, { "ruleId": "frame-title-unique", "sc": [ "4.1.2" ], "impact": "serious", "fix": "Frames must have a unique title attribute", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/frame-title-unique?application=axeAPI" }, { "ruleId": "heading-order", "sc": [], "impact": "moderate", "fix": "Heading levels should only increase by one", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/heading-order?application=axeAPI" }, { "ruleId": "hidden-content", "sc": [], "impact": "minor", "fix": "Hidden content on the page should be analyzed", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/hidden-content?application=axeAPI" }, { "ruleId": "html-has-lang", "sc": [ "3.1.1" ], "impact": "serious", "fix": "<html> element must have a lang attribute", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/html-has-lang?application=axeAPI" }, { "ruleId": "html-lang-valid", "sc": [ "3.1.1" ], "impact": "serious", "fix": "<html> element must have a valid value for the lang attribute", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/html-lang-valid?application=axeAPI" }, { "ruleId": "html-xml-lang-mismatch", "sc": [ "3.1.1" ], "impact": "moderate", "fix": "HTML elements with lang and xml:lang must have the same base language", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/html-xml-lang-mismatch?application=axeAPI" }, { "ruleId": "identical-links-same-purpose", "sc": [ "2.4.9" ], "impact": "minor", "fix": "Links with the same name must have a similar purpose", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/identical-links-same-purpose?application=axeAPI" }, { "ruleId": "image-alt", "sc": [ "1.1.1" ], "impact": "critical", "fix": "Images must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/image-alt?application=axeAPI" }, { "ruleId": "image-redundant-alt", "sc": [], "impact": "minor", "fix": "Alternative text of images should not be repeated as text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/image-redundant-alt?application=axeAPI" }, { "ruleId": "input-button-name", "sc": [ "4.1.2" ], "impact": "critical", "fix": "Input buttons must have discernible text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/input-button-name?application=axeAPI" }, { "ruleId": "input-image-alt", "sc": [ "1.1.1", "4.1.2" ], "impact": "critical", "fix": "Image buttons must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/input-image-alt?application=axeAPI" }, { "ruleId": "jsx-a11y/alt-text", "sc": [ "1.1.1" ], "impact": "critical", "fix": "Images must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/image-alt?application=axeAPI" }, { "ruleId": "jsx-a11y/anchor-has-content", "sc": [ "2.4.4" ], "impact": "serious", "fix": "Links must have discernible text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/link-name?application=axeAPI" }, { "ruleId": "jsx-a11y/anchor-is-valid", "sc": [ "2.4.4" ], "impact": "critical", "fix": null, "helpUrl": null }, { "ruleId": "jsx-a11y/aria-props", "sc": [ "4.1.2" ], "impact": "critical", "fix": "ARIA attributes must conform to valid values", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-valid-attr-value?application=axeAPI" }, { "ruleId": "jsx-a11y/click-events-have-key-events", "sc": [ "2.1.1" ], "impact": "serious", "fix": null, "helpUrl": null }, { "ruleId": "jsx-a11y/heading-has-content", "sc": [ "1.3.1" ], "impact": "minor", "fix": "Headings should not be empty", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/empty-heading?application=axeAPI" }, { "ruleId": "jsx-a11y/interactive-supports-focus", "sc": [ "2.1.1" ], "impact": "serious", "fix": null, "helpUrl": null }, { "ruleId": "jsx-a11y/label-has-associated-control", "sc": [ "1.3.1", "4.1.2" ], "impact": "critical", "fix": "Form elements must have labels", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/label?application=axeAPI" }, { "ruleId": "jsx-a11y/no-static-element-interactions", "sc": [ "2.1.1" ], "impact": "serious", "fix": null, "helpUrl": null }, { "ruleId": "jsx-a11y/role-has-required-aria-props", "sc": [ "4.1.2" ], "impact": "critical", "fix": "Required ARIA attributes must be provided", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-required-attr?application=axeAPI" }, { "ruleId": "jsx-a11y/role-supports-aria-props", "sc": [ "4.1.2" ], "impact": "critical", "fix": "Elements must only use supported ARIA attributes", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/aria-allowed-attr?application=axeAPI" }, { "ruleId": "jsx/duplicate-id", "sc": [ "4.1.1" ], "impact": "minor", "fix": "id attribute value must be unique", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/duplicate-id?application=axeAPI" }, { "ruleId": "jsx/heading-order", "sc": [ "1.3.1" ], "impact": "moderate", "fix": "Heading levels should only increase by one", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/heading-order?application=axeAPI" }, { "ruleId": "jsx/html-no-lang", "sc": [ "3.1.1" ], "impact": "serious", "fix": "<html> element must have a lang attribute", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/html-has-lang?application=axeAPI" }, { "ruleId": "jsx/iframe-no-title", "sc": [ "4.1.2" ], "impact": "serious", "fix": "Frames must have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/frame-title?application=axeAPI" }, { "ruleId": "jsx/list-structure", "sc": [ "1.3.1" ], "impact": "serious", "fix": "<ul> and <ol> must only directly contain <li>, <script> or <template> elements", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/list?application=axeAPI" }, { "ruleId": "jsx/media-no-captions", "sc": [ "1.2.2", "1.2.3" ], "impact": "critical", "fix": "<video> elements must have captions", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/video-caption?application=axeAPI" }, { "ruleId": "jsx/multiple-h1", "sc": [ "1.3.1" ], "impact": "moderate", "fix": "keep one `<h1>` per page and render the other section titles as `<h2>`, for example through a prop that sets the heading level", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/heading-order?application=axeAPI" }, { "ruleId": "jsx/positive-tabindex", "sc": [ "2.4.3" ], "impact": "serious", "fix": "Elements should not have tabindex greater than zero", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/tabindex?application=axeAPI" }, { "ruleId": "jsx/svg-no-name", "sc": [ "1.1.1" ], "impact": "serious", "fix": "<svg> elements with an img role must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/svg-img-alt?application=axeAPI" }, { "ruleId": "jsx/viewport-no-scale", "sc": [ "1.4.4" ], "impact": "moderate", "fix": "Zooming and scaling must not be disabled", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/meta-viewport?application=axeAPI" }, { "ruleId": "label", "sc": [ "4.1.2" ], "impact": "critical", "fix": "Form elements must have labels", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/label?application=axeAPI" }, { "ruleId": "label-content-name-mismatch", "sc": [ "2.5.3" ], "impact": "serious", "fix": "Elements must have their visible text as part of their accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/label-content-name-mismatch?application=axeAPI" }, { "ruleId": "label-title-only", "sc": [], "impact": "serious", "fix": "Form elements should have a visible label", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/label-title-only?application=axeAPI" }, { "ruleId": "landmark-banner-is-top-level", "sc": [], "impact": "moderate", "fix": "Banner landmark should not be contained in another landmark", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/landmark-banner-is-top-level?application=axeAPI" }, { "ruleId": "landmark-complementary-is-top-level", "sc": [], "impact": "moderate", "fix": "Aside should not be contained in another landmark", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/landmark-complementary-is-top-level?application=axeAPI" }, { "ruleId": "landmark-contentinfo-is-top-level", "sc": [], "impact": "moderate", "fix": "Contentinfo landmark should not be contained in another landmark", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/landmark-contentinfo-is-top-level?application=axeAPI" }, { "ruleId": "landmark-main-is-top-level", "sc": [], "impact": "moderate", "fix": "Main landmark should not be contained in another landmark", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/landmark-main-is-top-level?application=axeAPI" }, { "ruleId": "landmark-no-duplicate-banner", "sc": [], "impact": "moderate", "fix": "Document should not have more than one banner landmark", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/landmark-no-duplicate-banner?application=axeAPI" }, { "ruleId": "landmark-no-duplicate-contentinfo", "sc": [], "impact": "moderate", "fix": "Document should not have more than one contentinfo landmark", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/landmark-no-duplicate-contentinfo?application=axeAPI" }, { "ruleId": "landmark-no-duplicate-main", "sc": [], "impact": "moderate", "fix": "Document should not have more than one main landmark", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/landmark-no-duplicate-main?application=axeAPI" }, { "ruleId": "landmark-one-main", "sc": [], "impact": "moderate", "fix": "Document should have one main landmark", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/landmark-one-main?application=axeAPI" }, { "ruleId": "landmark-unique", "sc": [], "impact": "moderate", "fix": "Landmarks should have a unique role or role/label/title (i.e. accessible name) combination", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/landmark-unique?application=axeAPI" }, { "ruleId": "link-in-text-block", "sc": [ "1.4.1" ], "impact": "serious", "fix": "Links must be distinguishable without relying on color", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/link-in-text-block?application=axeAPI" }, { "ruleId": "link-name", "sc": [ "2.4.4", "4.1.2" ], "impact": "serious", "fix": "Links must have discernible text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/link-name?application=axeAPI" }, { "ruleId": "liquid/area-no-alt", "sc": [ "1.1.1" ], "impact": "critical", "fix": "Active <area> elements must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/area-alt?application=axeAPI" }, { "ruleId": "liquid/control-no-name", "sc": [ "4.1.2" ], "impact": "critical", "fix": "give the control text content, an `aria-label`, or a labelled child naming its purpose", "helpUrl": null }, { "ruleId": "liquid/duplicate-id", "sc": [ "4.1.1" ], "impact": "minor", "fix": "id attribute value must be unique", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/duplicate-id?application=axeAPI" }, { "ruleId": "liquid/empty-heading", "sc": [ "1.3.1", "2.4.6" ], "impact": "minor", "fix": "Headings should not be empty", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/empty-heading?application=axeAPI" }, { "ruleId": "liquid/heading-order", "sc": [ "1.3.1" ], "impact": "moderate", "fix": "Heading levels should only increase by one", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/heading-order?application=axeAPI" }, { "ruleId": "liquid/html-no-lang", "sc": [ "3.1.1" ], "impact": "serious", "fix": "<html> element must have a lang attribute", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/html-has-lang?application=axeAPI" }, { "ruleId": "liquid/iframe-no-title", "sc": [ "4.1.2" ], "impact": "serious", "fix": "Frames must have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/frame-title?application=axeAPI" }, { "ruleId": "liquid/img-no-alt", "sc": [ "1.1.1" ], "impact": "critical", "fix": "Images must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/image-alt?application=axeAPI" }, { "ruleId": "liquid/input-no-label", "sc": [ "1.3.1", "4.1.2" ], "impact": "critical", "fix": "Form elements must have labels", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/label?application=axeAPI" }, { "ruleId": "liquid/label-for-dangling", "sc": [ "1.3.1" ], "impact": "critical", "fix": "point the label's `for` at the `id` of the control it labels, or nest the control inside the `<label>`", "helpUrl": null }, { "ruleId": "liquid/list-structure", "sc": [ "1.3.1" ], "impact": "serious", "fix": "<ul> and <ol> must only directly contain <li>, <script> or <template> elements", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/list?application=axeAPI" }, { "ruleId": "liquid/media-no-captions", "sc": [ "1.2.2", "1.2.3" ], "impact": "critical", "fix": "<video> elements must have captions", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/video-caption?application=axeAPI" }, { "ruleId": "liquid/positive-tabindex", "sc": [ "2.4.3" ], "impact": "serious", "fix": "Elements should not have tabindex greater than zero", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/tabindex?application=axeAPI" }, { "ruleId": "liquid/svg-no-name", "sc": [ "1.1.1" ], "impact": "serious", "fix": "<svg> elements with an img role must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/svg-img-alt?application=axeAPI" }, { "ruleId": "liquid/viewport-no-scale", "sc": [ "1.4.4" ], "impact": "moderate", "fix": "Zooming and scaling must not be disabled", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/meta-viewport?application=axeAPI" }, { "ruleId": "list", "sc": [ "1.3.1" ], "impact": "serious", "fix": "<ul> and <ol> must only directly contain <li>, <script> or <template> elements", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/list?application=axeAPI" }, { "ruleId": "listitem", "sc": [ "1.3.1" ], "impact": "serious", "fix": "<li> elements must be contained in a <ul> or <ol>", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/listitem?application=axeAPI" }, { "ruleId": "marquee", "sc": [ "2.2.2" ], "impact": "serious", "fix": "<marquee> elements are deprecated and must not be used", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/marquee?application=axeAPI" }, { "ruleId": "meta-refresh", "sc": [ "2.2.1" ], "impact": "critical", "fix": "Delayed refresh under 20 hours must not be used", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/meta-refresh?application=axeAPI" }, { "ruleId": "meta-refresh-no-exceptions", "sc": [ "2.2.4", "3.2.5" ], "impact": "minor", "fix": "Delayed refresh must not be used", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/meta-refresh-no-exceptions?application=axeAPI" }, { "ruleId": "meta-viewport", "sc": [ "1.4.4" ], "impact": "moderate", "fix": "Zooming and scaling must not be disabled", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/meta-viewport?application=axeAPI" }, { "ruleId": "meta-viewport-large", "sc": [], "impact": "minor", "fix": "Users should be able to zoom and scale the text up to 500%", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/meta-viewport-large?application=axeAPI" }, { "ruleId": "nested-interactive", "sc": [ "4.1.2" ], "impact": "serious", "fix": "Interactive controls must not be nested", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/nested-interactive?application=axeAPI" }, { "ruleId": "no-autoplay-audio", "sc": [ "1.4.2" ], "impact": "moderate", "fix": "<video> or <audio> elements must not play automatically", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/no-autoplay-audio?application=axeAPI" }, { "ruleId": "object-alt", "sc": [ "1.1.1" ], "impact": "serious", "fix": "<object> elements must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/object-alt?application=axeAPI" }, { "ruleId": "p-as-heading", "sc": [ "1.3.1" ], "impact": "serious", "fix": "Styled <p> elements must not be used as headings", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/p-as-heading?application=axeAPI" }, { "ruleId": "page-has-heading-one", "sc": [], "impact": "moderate", "fix": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/page-has-heading-one?application=axeAPI" }, { "ruleId": "presentation-role-conflict", "sc": [], "impact": "minor", "fix": "Elements marked as presentational should be consistently ignored", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/presentation-role-conflict?application=axeAPI" }, { "ruleId": "react-native/control-no-name", "sc": [ "4.1.2" ], "impact": null, "fix": "`accessibilityLabel=\"…\"` on the pressable naming its action, or a `Text` child that says it", "helpUrl": null }, { "ruleId": "react-native/field-no-label", "sc": [ "1.3.1", "4.1.2" ], "impact": null, "fix": "`accessibilityLabel=\"…\"` on the `TextInput` naming what it is for; a `placeholder` is not a label", "helpUrl": null }, { "ruleId": "react-native/font-scaling-disabled", "sc": [ "1.4.4" ], "impact": null, "fix": "remove `allowFontScaling={false}` (and any `Text.defaultProps.allowFontScaling = false`); where a layout cannot grow further, cap it with `maxFontSizeMultiplier` of 2 or more", "helpUrl": null }, { "ruleId": "react-native/heading-structure", "sc": [ "1.3.1", "2.4.6" ], "impact": null, "fix": "`accessibilityRole=\"header\"` (or `role=\"heading\"`) on the `Text` that is styled as a heading", "helpUrl": null }, { "ruleId": "react-native/image-no-label", "sc": [ "1.1.1" ], "impact": null, "fix": "`accessibilityLabel=\"…\"` naming the content; drop `accessible` / the image role if it is decorative", "helpUrl": null }, { "ruleId": "react-native/missing-role", "sc": [ "4.1.2" ], "impact": null, "fix": "`accessibilityRole=\"button\"` (or `\"link\"`, `\"tab\"`, …) on the pressable, matching what it does", "helpUrl": null }, { "ruleId": "react-native/touch-target-small", "sc": [ "2.5.8", "2.5.5" ], "impact": null, "fix": "grow the pressable's `width` / `height` to at least 24, add padding that reaches 24, or set `hitSlop` so the hit area reaches 24 on each axis", "helpUrl": null }, { "ruleId": "react-native/wrapper-unlabeled", "sc": [ "1.1.1", "4.1.2" ], "impact": null, "fix": "give the component a label prop and forward it into the inner control's `accessibilityLabel` (or render `children` as its `Text`), then pass a name at this call site", "helpUrl": null }, { "ruleId": "region", "sc": [], "impact": "moderate", "fix": "All page content should be contained by landmarks", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/region?application=axeAPI" }, { "ruleId": "role-img-alt", "sc": [ "1.1.1" ], "impact": "serious", "fix": "[role=\"img\"] elements must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/role-img-alt?application=axeAPI" }, { "ruleId": "scope-attr-valid", "sc": [], "impact": "moderate", "fix": "scope attribute should be used correctly", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/scope-attr-valid?application=axeAPI" }, { "ruleId": "scrollable-region-focusable", "sc": [ "2.1.1", "2.1.3" ], "impact": "serious", "fix": "Scrollable region must have keyboard access", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/scrollable-region-focusable?application=axeAPI" }, { "ruleId": "select-name", "sc": [ "4.1.2" ], "impact": "critical", "fix": "Select element must have an accessible name", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/select-name?application=axeAPI" }, { "ruleId": "server-side-image-map", "sc": [ "2.1.1" ], "impact": "minor", "fix": "Server-side image maps must not be used", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/server-side-image-map?application=axeAPI" }, { "ruleId": "skip-link", "sc": [], "impact": "moderate", "fix": "The skip-link target should exist and be focusable", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/skip-link?application=axeAPI" }, { "ruleId": "summary-name", "sc": [ "4.1.2" ], "impact": "serious", "fix": "Summary elements must have discernible text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/summary-name?application=axeAPI" }, { "ruleId": "svg-img-alt", "sc": [ "1.1.1" ], "impact": "serious", "fix": "<svg> elements with an img role must have alternative text", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/svg-img-alt?application=axeAPI" }, { "ruleId": "swiftui/color-only-state", "sc": [ "1.4.1" ], "impact": null, "fix": "add a non-color cue (label text, SF Symbol, or shape) alongside the color", "helpUrl": null }, { "ruleId": "swiftui/control-no-name", "sc": [ "4.1.2" ], "impact": null, "fix": "`.accessibilityLabel(...)` naming the action", "helpUrl": null }, { "ruleId": "swiftui/dynamic-type-fixed-font", "sc": [ "1.4.4" ], "impact": null, "fix": "use a scaling text style (`.body` / `.title`) or `Font.custom(size:relativeTo:)` / `@ScaledMetric`", "helpUrl": null }, { "ruleId": "swiftui/field-no-label", "sc": [ "1.3.1", "4.1.2" ], "impact": null, "fix": "`.accessibilityLabel(...)` or an associated visible `Label` naming the field", "helpUrl": null }, { "ruleId": "swiftui/heading-structure", "sc": [ "1.3.1", "2.4.6" ], "impact": null, "fix": "`.accessibilityAddTraits(.isHeader)` (or `.accessibilityHeading(...)`)", "helpUrl": null }, { "ruleId": "swiftui/image-no-label", "sc": [ "1.1.1" ], "impact": null, "fix": "`.accessibilityLabel(...)` naming the content; `Image(decorative:)` / `.accessibilityHidden(true)` if decorative", "helpUrl": null }, { "ruleId": "swiftui/interactive-hidden", "sc": [ "4.1.2" ], "impact": null, "fix": "remove `.accessibilityHidden(true)` from the interactive view; hide only the purely-decorative sibling", "helpUrl": null }, { "ruleId": "swiftui/missing-trait", "sc": [ "4.1.2" ], "impact": null, "fix": "`.accessibilityAddTraits(.isButton)` so assistive tech announces it as actionable", "helpUrl": null }, { "ruleId": "swiftui/touch-target-small", "sc": [ "2.5.8", "2.5.5" ], "impact": null, "fix": "enlarge the frame or add `.padding` to grow the tappable area", "helpUrl": null }, { "ruleId": "swiftui/wrapper-unlabeled", "sc": [ "1.1.1", "4.1.2" ], "impact": null, "fix": "label at the wrapper definition (or forward a label parameter); every call site benefits", "helpUrl": null }, { "ruleId": "tabindex", "sc": [], "impact": "serious", "fix": "Elements should not have tabindex greater than zero", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/tabindex?application=axeAPI" }, { "ruleId": "table-duplicate-name", "sc": [], "impact": "minor", "fix": "Tables should not have the same summary and caption", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/table-duplicate-name?application=axeAPI" }, { "ruleId": "table-fake-caption", "sc": [ "1.3.1" ], "impact": "serious", "fix": "Data or header cells must not be used to give caption to a data table.", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/table-fake-caption?application=axeAPI" }, { "ruleId": "target-size", "sc": [ "2.5.8" ], "impact": "serious", "fix": "All touch targets must be 24px large, or leave sufficient space", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/target-size?application=axeAPI" }, { "ruleId": "td-has-header", "sc": [ "1.3.1" ], "impact": "critical", "fix": "Non-empty <td> elements in larger <table> must have an associated table header", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/td-has-header?application=axeAPI" }, { "ruleId": "td-headers-attr", "sc": [ "1.3.1" ], "impact": "serious", "fix": "Table cell headers attributes must refer to other <th> elements in the same table", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/td-headers-attr?application=axeAPI" }, { "ruleId": "th-has-data-cells", "sc": [ "1.3.1" ], "impact": "serious", "fix": "Table headers in a data table must refer to data cells", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/th-has-data-cells?application=axeAPI" }, { "ruleId": "uikit-ib/control-no-name", "sc": [ "4.1.2" ], "impact": "critical", "fix": "in the Identity Inspector's Accessibility pane, set Label to the action the control performs (\"Close\", \"Help\") — or give the control a visible title in the Attributes Inspector. An icon-only button carries no name at all: the SF Symbol is what a sighted user sees and is nothing a screen reader can speak", "helpUrl": null }, { "ruleId": "uikit/bar-item-no-name", "sc": [ "4.1.2" ], "impact": null, "fix": "name the action the item performs, not the icon it shows — `item.accessibilityLabel = \"Share\"` (or construct it with `UIBarButtonItem(title:…)` when a visible title is wanted)", "helpUrl": null }, { "ruleId": "uikit/control-no-name", "sc": [ "4.1.2" ], "impact": null, "fix": "name the action the button performs — `button.accessibilityLabel = \"Open profile menu\"` — or give it a visible title with `setTitle(_:for:)`; a transparent button laid over an image needs the label even though the image beneath it is what the user sees", "helpUrl": null }, { "ruleId": "uikit/dynamic-type-fixed-font", "sc": [ "1.4.4" ], "impact": null, "fix": "let the font scale — `UIFont.preferredFont(forTextStyle: .body)`, or keep the custom face and wrap it in `UIFontMetrics(forTextStyle: .body).scaledFont(for: font)` — and set `adjustsFontForContentSizeCategory = true` so it re-resolves when the setting changes; the box has to be able to grow with it, so replace a fixed height with a content-driven constraint", "helpUrl": null }, { "ruleId": "uikit/element-hidden-interactive", "sc": [ "4.1.2" ], "impact": null, "fix": "remove `isAccessibilityElement = false` from the control; hide only the purely-decorative subview, or set `accessibilityElementsHidden` on the container you actually mean to hide", "helpUrl": null }, { "ruleId": "unity/color-only-state", "sc": [ "1.4.1" ], "impact": "serious", "fix": "use a SpriteSwap or Animation transition instead of ColorTint so state carries a non-color cue", "helpUrl": null }, { "ruleId": "unity/missing-accessible-label", "sc": [ "1.1.1", "4.1.2" ], "impact": "serious", "fix": "add a text-bearing child (`TextMeshProUGUI` / `Text`) carrying the control's label, or set its accessible name explicitly", "helpUrl": null }, { "ruleId": "unity/no-input-rebinding", "sc": [ "2.1.1", "2.5.1" ], "impact": "serious", "fix": "expose a rebinding path via the Input System — ship an `.inputactions` asset or call `PerformInteractiveRebinding`", "helpUrl": null }, { "ruleId": "unity/no-screen-reader-support", "sc": [ "1.3.1", "4.1.2" ], "impact": "critical", "fix": "build an `AccessibilityHierarchy` of `AccessibilityNode`s and register it via `AssistiveSupport` (`UnityEngine.Accessibility`)", "helpUrl": null }, { "ruleId": "valid-lang", "sc": [ "3.1.2" ], "impact": "serious", "fix": "lang attribute must have a valid value", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/valid-lang?application=axeAPI" }, { "ruleId": "video-caption", "sc": [ "1.2.2" ], "impact": "critical", "fix": "<video> elements must have captions", "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/video-caption?application=axeAPI" }]