Skip to content

v1.22.1 — Fix presentational component false positives

Choose a tag to compare

@tpitre tpitre released this 07 Apr 02:12

Fixed

  • Component audit false positives on presentational components — Alert, Badge, Card, Avatar, Tooltip, and Progress components were incorrectly scored against interactive-component expectations (hover, focus, disabled states). Components are now classified as interactive or presentational based on name and variant axis analysis. Alert score corrected from 53/100 to 85/100.

  • Target size false positives — WCAG 2.5.8 target size checks now only apply to interactive components. 16px badges and 16x16 avatars are no longer flagged as violations.

  • Focus indicator false positives — Presentational components no longer penalized for missing focus variants.

Classification

Interactive Presentational
button, input, checkbox, radio, switch, toggle, tab, select, link, dropdown, slider, menu-item, search, combobox alert, badge, card, avatar, divider, skeleton, tooltip, tag, chip, banner, callout, notification, toast, icon, progress, spinner, loader

Full changelog: v1.22.0...v1.22.1