3.19.0
⚠️ Breaking change: The deprecated
$wgCitizenUseNewTokenconfig has been removed — wikis on the preview channel must set$wgCitizenPreview = 4;instead. Section and table markup has also changed, so custom CSS keyed on the old shape may need retargeting, and wikis that cache HTML output should purge after updating.
Highlights
-
♿ A more accessible skin Pressing Tab now reveals a "Jump to content" link, collapsible sections can be opened from the keyboard, and screen readers hear proper names for the contents panel and navigation menus.
-
⚡ Faster, steadier pages Pages load less skin JavaScript and do less work up front, and tables and scroll boxes now settle into place as the page paints instead of shifting content around them.
Changelog
Features
- ✨ add a skip link to jump straight to page content (by @alistair3149)
db150a2, closes #1673 - overflow: ✨ keep floated content floating when wrapped (by @alistair3149)
b9f803a - sections: ✨ nest section markup with headings inside like Parsoid (by @alistair3149)
bdf3af8
Bug Fixes
- drawer: 🐛 avoid a second banner landmark (by @alistair3149)
78043c6 - main-page: 🐛 render the main page header after the content (by @alistair3149)
5f0ad0a - menu: 🐛 name the navigation landmarks for screen readers (by @alistair3149)
3e9332f - overflow: 🐛 keep sticky headers aligned and working inside tabs (by @alistair3149)
cc18f54, closes #1097 #1098 - overflow: 🐛 stop the page shifting when tables and scroll boxes load (by @alistair3149)
68d41fb - overflowElements: 🐛 disconnect stale observers when content is replaced (by @alistair3149)
8de107d - pagetools: 🐛 stop dropdown cards being announced as landmarks (by @alistair3149)
43548bf - sections: 🐛 hide standalone images and tables when collapsed (by @alistair3149)
51fbc9a, closes #1693 - sections: 🐛 keep sections collapsible after the content re-renders (by @alistair3149)
a366667 - sections: 🐛 make collapsing sections keyboard accessible (by @alistair3149)
6464eed - sections: 🐛 support collapsible sections on Parsoid pages (by @alistair3149)
169a75f - skin: 🐛 drop an aria-labelledby that assistive tech ignores (by @alistair3149)
54b1775 - skinStyles: 🐛 point dangling variable references at real tokens (by @alistair3149)
5431bc8 - sticky-header: 🐛 keep cloned menus dismissable and up to date (by @alistair3149)
745d74d, closes #1697 - toc: 🐛 give the table of contents an accessible name (by @alistair3149)
68664ad - toc: 🐛 restore the missing Back to top tooltip (by @alistair3149)
d0042dc - tokens: 🐛 restore the pressed icon shade on the default theme (by @alistair3149)
aafbc6a - tokens: 🐛 stop Codex icons and buttons rendering dark in dark mode (by @alistair3149)
2192c52, closes #1690 - VisualEditor: 🐛 categoryEdit styling improvements (by @wlft)
62ecf38
Performance Improvements
- overflowElements: ⚡️ defer table measurement until scrolled into view (by @alistair3149) (#1659)
2801a33 - scripts: ⚡️ defer observer setup and the GPU probe until after first paint (by @alistair3149) (#1660)
00b8c5a - tableOfContents: ⚡️ keep section activation from forcing page reflows (by @alistair3149)
80368af - tableOfContents: ⚡️ load the table of contents script only on pages that have one (by @alistair3149)
9357861
Miscellaneous Chores
- finalize-release: 🔧 fix the stale docs rebuild step (by @alistair3149)
820a511

