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
- Go to e.g. https://www.wikidata.org/wiki/Q42395533#Q42395533$a0188262-4839-1157-97b8-6b1a7d31a354
- Try to click on the “Commons category” label in the highlighted statement. (Or, try to drag-select the text of the label.)
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.