Skip to content

v0.4.5

Choose a tag to compare

@github-actions github-actions released this 25 May 08:57
· 24 commits to main since this release

MT309203 accesskey-label consistency check — catches the exact
pattern MODA reviewers flag: the sitemap page's accesskey description
table says one thing but the actual element aria-label / title /
hidden text says something else. Screen reader users read the table
first, then press the shortcut and hear different text — confusing.

Changed

  • MT309203 now cross-checks the accesskey description table
    against same-page [accesskey] elements' aria-label / title /
    visible text. Mismatches → fail with per-key diff listing
    (table description vs actual screen-reader announcement).
    Previously MT309203 only verified the table and Firefox note
    existed; text consistency was unchecked.

Notes

  • Driven by a real MODA AAA round-3 finding on light-design.com.tw:
    reviewer flagged GN1240500E because aria-label="開啟選單" did not
    match the sitemap table's "開啟頁首主選單 (含各頁面連結)".
  • Cross-check is limited to the sitemap page itself (single-page
    rule). Cross-page label-vs-table comparison (e.g. checking every
    page's accesskey elements against the sitemap table) would require
    architectural support for cross-page state passing — deferred.
  • Rule count unchanged at 133.