Skip to content

Backport five accessibility fixes to prerelease - #2271

Merged
cwickham merged 5 commits into
prereleasefrom
sync-a11y-to-prerelease
Oct 6, 2026
Merged

cwickham merged 5 commits into
prereleasefrom
sync-a11y-to-prerelease

Conversation

@cwickham

@cwickham cwickham commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

The automatic backport failed for these five PRs because of cherry-pick conflicts. This PR applies them to prerelease by hand, in the order that they merged:

I checked all PRs merged to main since 2026-07-01. These five are the only ones that are not on prerelease.

#2227 and #2141 had a conflict in _freeze/docs/authoring/tables/execute-results/html.json. After both PRs, the source of tables.qmd on prerelease is the same as on main. Thus this file is now the same as on main. The other freeze files from #2227 come from main without change, because their sources are the same on both branches.

Axe scan

I rendered the site with QUARTO_PROFILE=prerelease-docs and scanned all 373 pages with quarto call axe. Then I compared the result with the prerelease scan of 2026-10-02 (run 37054502660).

  • New (not baselined) findings: 32 → 4.
  • All target signatures are gone: 19 heading-order, color-contrast :: #5092dd on #ffffff, and link-in-text-block :: tr > td > .listing-description > a.
  • frame-title :: iframe decreased from 3 to 1 instance. The one that remains is on code-annotation.html, which Add iframe titles to embedded videos #2141 does not change.
  • The elephant image-alt and link-name findings on markdown-basics.html moved from .odd rows to .even rows. The prerelease baseline already has the .even signatures, so they are baselined.

These PRs do not fix the 4 findings that remain. The banner contrast (#ffffff on #ff0039, 334 pages) is separate work. The others are three scrollable-region-focusable signatures.

* Heading order fixes

* Remove extra h1 and reflow

* Fix headings that should have been "captions"

* Update freeze

(cherry picked from commit c56f6cb)
…2235)

* Use the theme link color for the extensions category chooser

The chooser tiles hard-coded #5092dd, which is 3.23:1 on white (WCAG 1.4.3 needs 4.5:1). var(--bs-link-color) gives 5.15:1 in light mode and 7.27:1 in dark mode. Clears axe color-contrast-0f9515 (20 instances on 5 pages).

* Underline links in listing-table descriptions

Quarto's listing-table styles remove link underlines, so description links rely on color alone: 2.23:1 against body text, short of the 3:1 WCAG 1.4.1 needs. Clears axe link-in-text-block-82c7eb and the extensions-page instances of link-in-text-block-7b0c90.

(cherry picked from commit e26940f)
* Make the tool choosers consistent with a shared page-chooser shortcode

* Use --bs-border-color for chooser tiles in light mode

(cherry picked from commit dab304a)
…again (#2257)

#2235 left out the closing brace of the listing-description link rule.
Browsers then read the #2234 rule for screen-reader-only code blocks as a
nested rule that never matches, and the blocks became scrollable regions
again (axe scrollable-region-focusable).

(cherry picked from commit 6f27b3f)
Screen readers announce an iframe by its title. The video shortcode
emits title="" when the author omits the title argument, so these two
embeds failed axe's frame-title check (serious, WCAG 2.0 A, SC 4.1.2).

Add title="CERN: The Journey of Discovery" to the two live {{< video >}}
calls, and to the escaped copies the same pages display as source, so
the shown example matches the rendered output. In tables.qmd the call
sits inside a data-qmd="..." attribute, so the title uses single quotes.

(cherry picked from commit ccf7a9e)
@cwickham cwickham changed the title Backport four accessibility fixes to prerelease Backport five accessibility fixes to prerelease Oct 6, 2026
@cwickham
cwickham merged commit 6a61de0 into prerelease Oct 6, 2026
3 checks passed
@cwickham
cwickham deleted the sync-a11y-to-prerelease branch October 6, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant