You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
The GitHub Action now installs 0.3.6. It follows the latest 0.3.x; pin version: 0.3.5 to stay on the previous release.
Vue files the parser cannot read are now listed in unchecked (parse_error), with a
diagnostic. They are still scanned, with a fallback extraction.
Fixed
Vue templates are now read with the official parser (vue-eslint-parser).
Markup after a nested <template> (v-if, v-for, #slot) is now scanned.
<button><Icon aria-hidden="true" /> Save</button> is no longer reported as a button
without a name.
Reading level skips interpolations ({{ $t('…') }}); a file with too little remaining
text is not graded.
axe-core findings on Vue files now carry their exact source line, also when the same
tag appears several times.
Fingerprint impact (Vue files only)
Other file types are unchanged: Astro, Svelte, JSX, TSX and HTML scans give the same
findings, fingerprints and score.
On Vue files, findings are retired or new, never re-identified. Retired: the false
positives fixed above. New: findings in markup not checked before.
Vue scores can rise or fall: retired false positives raise them, newly checked markup
can lower them. --diff is unaffected: it scans base and head with the same engine.
Known limitations
A self-closing <textarea /> in a Vue template hides the markup after it from axe-core;
the scan reports it in a diagnostic. Write <textarea></textarea>.
Other self-closing elements reach axe-core as written, and the content after them can be
read as their children (<MyIcon /> <li>…</li>). Write the end tag.
Astro text expressions ({t('…')}) are still graded for reading level.
Styles are not applied: an input hidden by a CSS class is still checked.