Page MenuHomePhabricator

Fix missing label for collapsed ToC button
Closed, ResolvedPublic2 Estimated Story Points

Description

Background

The label for the collapsed TOC dropdown (in both page tools and in the sticky header) is missing, this was previously working but probably regressed during PHP refactoring related to SkinComponents. This was discovered in T328480

AC

  • The collapsed TOC dropdown button has an accessible label using the vector-toc-collapsible-button-label locale

QA Results - Beta

ACStatusDetails
1T328584#8639525

QA Results - Prod

ACStatusDetails
1T328584#8645580

Details

Event Timeline

bwang renamed this task from Fix missing label for collapsed ToC to Fix missing label for collapsed ToC button.Feb 2 2023, 6:45 PM
LGoto triaged this task as High priority.Feb 2 2023, 6:47 PM
LGoto set the point value for this task to 2.

Change 889631 had a related patch set uploaded (by Jdrewniak; author: Jdrewniak):

[mediawiki/skins/Vector@master] Add label text to ToC toggle button near page title

https://gerrit.wikimedia.org/r/889631

Change 889631 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Add label text to TOC toggle buttons

https://gerrit.wikimedia.org/r/889631

Edtadros subscribed.

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Ventura
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1: TOC Toggle should have an accessibility label.

Screen Recording 2023-02-22 at 5.37.39 PM.mov.gif (884×938 px, 335 KB)

Screen Recording 2023-02-22 at 5.40.17 PM.mov.gif (884×938 px, 385 KB)

Screen Recording 2023-02-22 at 5.41.40 PM.mov.gif (884×1 px, 447 KB)

@bwang, please confirm I'm verifying the correct thing here. I included the html in the screen grab for your reference.

Test Result - Prod

Status: ✅ PASS
Environment: enwiki
OS: macOS Ventura
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1: TOC Toggle should have an accessibility label.

Screen Recording 2023-02-24 at 3.50.17 PM.mov.gif (1×974 px, 402 KB)

Screen Recording 2023-02-24 at 3.47.19 PM.mov.gif (1×1 px, 487 KB)

Screen Recording 2023-02-24 at 3.45.54 PM.mov.gif (1×1 px, 579 KB)