[go: up one dir, main page]

Page MenuHomePhabricator

Wikidata property label is unclickable when linked using statement ID
Closed, DuplicatePublicBUG REPORT

Description

When a link to a specific statement on Wikidata is used, the property label of the target statement cannot be clicked, selected or interacted with.

List of steps to reproduce

What happens?
Nothing, the click is ignored, the text is not selected. (When trying to inspect the link element, the DOM inspector displays a .wikibase-statementview-mainsnak-container element instead.)

What should have happened instead?
The link should have worked normally, the text should have been selected.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc
Tested on Firefox 91.0.2 on Windows and Edge 92.0.902.84 on Windows.

The problem seems to be impacted by a z-index: 1 declaration in the .wikibase-statementgrouplistview .wikibase-statementlistview .wikibase-statementview:target CSS rule. When I disable the z-index, the link becomes clickable.