Page MenuHomePhabricator

Aliases are each within separate <ul> elements
Closed, ResolvedPublicBUG REPORT

Description

In an object page with a few Aliases, e.g. https://www.wikifunctions.org/view/en/Z10944
each of the Aliases is contained within a separate <ul> tag.

This causes a WP:LISTGAP problem (whereby screenreaders will treat a list of 4 items, as if it's 4 separate lists of 1 item). -- I have user.css that adds a dotted line to detect this problem in wikipages, hence I noticed it!

image.png (855×637 px, 98 KB)

(Possibly this is a duplicate of, or related to, T336347: ChipContainer and Chip components: Decouple these componets from the internal structure of zobject data, but I'm not sure.)

Event Timeline

Jdforrester-WMF moved this task from To Triage to Backlog on the Abstract Wikipedia team board.

Change 969938 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] FunctionViewerSidebar: Loop the <li> not the <ul> for Aliases

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

Jdforrester-WMF changed the task status from Open to In Progress.Oct 30 2023, 5:40 PM
Jdforrester-WMF claimed this task.
Jdforrester-WMF moved this task from Backlog to In Progress on the Abstract Wikipedia team board.

Change 969938 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] FunctionViewerSidebar: Loop the <li> not the <ul> for Aliases

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