https://bugzilla.wikimedia.org/show_bug.cgi?id=66438
Bug ID: 66438
Summary: Additional javascript:void() introduced by new
suggester
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
This is an issue in the new ("ooMenu" based) suggester.
It introduces lots of additional href="javascript:void(0);" where the old
suggester just used empty <a> elements. Most of these (if not all) don't make
much sense from a usability point of view. The <a> elements are created by
JavaScript code. There is no way you can see them with JavaScript disabled.
Yes, it would be very nice if all clickable elements in the UI have a
appropriate href="..." attribute so I can middle click, right click or
Ctrl+click all these elements. But void() just isn't anything that adds any
value. It's the opposite by definition. It actually makes things worse because
it tricks the browser into thinking there is something in the link, it tries to
execute it but then it does nothing.
TL;DR: Either use real URLs in href's that can be opened in new browser tabs or
just remove these href attributes.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l