Rules Catalog

A11YSmith ships with accessibility rules for five platforms. Each rule maps to one or more WCAG 2.2 success criteria and produces findings with a severity level.

Web Rules (10 rules)

Web accessibility rules
Rule ID Title WCAG
web-images-alt-textImages and Alternative Text1.1.1
web-name-role-valueName, Role, Value for Custom Controls4.1.2
web-buttons-vs-linksButtons vs. Links Semantics4.1.2
web-headings-landmarksHeadings and Landmark Structure1.3.1, 2.4.1, 2.4.6
web-form-labelsForm Labels and Error Messaging1.3.1, 3.3.2, 4.1.2
web-focus-indicatorsFocus Path and Focus Indicators2.4.3, 2.4.7, 2.4.11
web-tablesData Table Structure1.3.1
web-live-regionsDynamic Announcements and Live Regions4.1.3
web-modals-focus-trapModals and Dialogs Focus Management4.1.2
web-target-sizeTouch and Click Target Size2.5.5, 2.5.8

Android Rules (10 rules)

Android accessibility rules
Rule ID Description WCAG
android-missing-content-descriptionInteractive views must have a contentDescription1.1.1
android-touch-target-sizeTouch targets must be at least 48x48dp2.5.8
android-color-contrastText must meet minimum contrast ratios1.4.3
android-missing-headingHeadings must use proper semantics1.3.1
android-missing-traversal-orderFocus traversal order must be logical2.4.3
android-live-regionDynamic content must use live regions4.1.3
android-state-descriptionStateful views must expose state via stateDescription4.1.2
android-clickable-no-roleClickable elements must have an accessibility role4.1.2
android-hardcoded-text-sizeText sizes must use scalable units (sp)1.4.4
android-missing-compose-semanticsCompose elements must have semantics4.1.2

iOS Rules (13 rules)

iOS accessibility rules
Rule ID Description WCAG
ios-missing-accessibility-labelInteractive elements must have an accessibilityLabel1.1.1
ios-small-touch-targetTouch targets must be at least 44x44pt2.5.8
ios-missing-heading-traitHeadings must use the header accessibility trait1.3.1
ios-missing-hintCustom actions should provide an accessibilityHint4.1.2
ios-missing-toggle-labelToggle controls must have accessible labels4.1.2
ios-missing-announcementDynamic content must post accessibility notifications4.1.3
ios-hardcoded-font-sizeText must support Dynamic Type scaling1.4.4
ios-inaccessible-gestureCustom gestures must have accessible alternatives2.5.1
ios-hierarchy-missing-labelElements in hierarchy must have labels1.1.1
ios-hierarchy-missing-headingHeading hierarchy must be present1.3.1
ios-hierarchy-missing-valueAdjustable elements must expose their value4.1.2
ios-hierarchy-small-touch-targetTouch targets in hierarchy must meet minimum size2.5.8
ios-hierarchy-unreachable-elementAll elements must be reachable via VoiceOver2.1.1

Document Rules (28 rules)

Word (.docx) -- 8 rules

Word document accessibility rules
Rule ID Description
DOCX-TITLE-001Document must have a title set
DOCX-HEADING-001Heading levels must not skip
DOCX-ALT-001Images must have alternative text
DOCX-TABLE-001Tables must have header rows
DOCX-LINK-001Hyperlink text must be descriptive
DOCX-LANG-001Document language must be set
DOCX-MERGED-001Tables should not have merged cells
DOCX-LIST-001Lists must use proper list structure

Excel (.xlsx) -- 6 rules

Excel workbook accessibility rules
Rule ID Description
XLSX-SHEET-001Sheets must have meaningful names
XLSX-TABLE-001Data must be in named tables with headers
XLSX-MERGED-001Tables should not have merged cells
XLSX-COLOR-001Data must not be conveyed by color alone
XLSX-LINK-001Hyperlink text must be descriptive
XLSX-CHART-001Charts must have alternative text

PowerPoint (.pptx) -- 6 rules

PowerPoint presentation accessibility rules
Rule ID Description
PPTX-TITLE-001Every slide must have a title
PPTX-ORDER-001Reading order must be logical
PPTX-ALT-001Images must have alternative text
PPTX-DUPTITLE-001Slide titles must be unique
PPTX-LINK-001Hyperlink text must be descriptive
PPTX-MEDIA-001Media must have accessibility alternatives

PDF -- 8 rules

PDF accessibility rules
Rule ID Description
PDFUA-TAG-001PDF must have tagged structure
PDFUA-ALT-001Images must have alternative text
PDFUA-LANG-001Document language must be set
PDFUA-BOOKMARK-001Document must have bookmarks for navigation
PDFBP-FORM-001Form fields must have labels
PDFBP-ORDER-001Reading order must be logical
PDFQ-TEXT-001Text must be extractable (not image-only)
PDFQ-FONT-001Fonts must be embedded