You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hyperlinks are actions (“take me to this other page”), but these tags are binary switches, options (“filter by this”, “now don't filter at all”, etc)
Hyperlinks aren't designed to hold a state, so information about which tag you're filtering by (if any) at any given moment would have to be conveyed somewhere else (eg, in a heading), or in the selected hyperlink itself (eg, with a different background colour), which is a bit of a hack, and not all that intuitive
In the progressively enhanced version (ie, with JS running), we'd have to capture the click events and defaultPrevent them, which is counter-intuitive, and ugly
To remove that filter, we either add a special hyperlink (“all tags”) and make it apparent (more difficult to understand), or force users to go back in history until they reach the initial, non-filtered version of the page (if that was their entry point, that is!); either solution looks bad to me
If/when the no. of tags increases, we'll need more real space on the page to show them all (the drop-down, on the other hand, has a fixed size no matter how many tags it holds)
Received this feedback today:
[[
The https://www.w3.org/TR/ page looks great now, but I noticed that
while many specs have useful tags attached to them, they're not
clickable - you have to manually go back to the search box at the top
of the screen and select the tag you want to filter for.
It's pretty standard to make clicking on a tag take you to whatever
page corresponds to filtering for that tag; could we get that done on
this page too?
]]
Advantage: you can see all tags at a glance, and you save clicking on the drop-down (and possibly scrolling on it), which may be tedious.
/cc @bert-github.
The text was updated successfully, but these errors were encountered: