jgm / skylighting

A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions
189 stars 61 forks source link

Hide invisible line numbers from keyboard focus #107

Closed d10n closed 3 years ago

d10n commented 3 years ago

This fixes tabbing through elements on a page. For example, before this change, when line numbers are hidden, you would need to press tab once for each line to get to the next visible link.

See also: https://act-rules.github.io/rules/6cfa84#failed-example-1

jgm commented 3 years ago

thanks!