Phobos doc anchors not friendly for keyboard-centric browsers

qznc via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 19 06:27:37 PDT 2016


On Tuesday, 19 July 2016 at 13:16:52 UTC, Jack Stouffer wrote:
> On Tuesday, 19 July 2016 at 11:38:20 UTC, rcorre wrote:
>> Keyboard-centric browsers (e.g. qutebrowser [1], dwb [2], 
>> ect.) generally let you click on links via 'hinting'. You 
>> press a button (e.g. 'f' for 'follow'), every clickable 
>> element has a series of keys shown above it, and you press 
>> those keys to follow that link (just look at some of the 
>> screenshots for the linked browsers).
>>
>> The (kinda) new anchor links in the phobos docs don't work 
>> well with this, as they require me to mouse over the element 
>> for them to show up (and having to use the mouse defeats the 
>> purpose of a keyboard-centric browser).
>>
>> Is there any reason for this design? Would it hurt to show the 
>> anchor all the time? If nothing else it would make the anchors 
>> more discoverable.
>
> I don't understand, the anchor link doesn't go anywhere. It's 
> to provide a perma-link to that piece of documentation so you 
> can direct link to it somewhere else.

My guess: "every clickable element has a series of keys shown 
above it". The permalinks are not clickable unless you hover 
above, thus no "hinting", thus not useable by keyboard-centric 
browsers.

Maybe have it always visible and float to the right?


More information about the Digitalmars-d mailing list