3 ms·
I like the general idea... I think it's also a tall ask. When everyone asks for a different feature; there's too many features to implement. HTML defines a <ma
by gwbas1c 2y ago
I like the general idea... I think it's also a tall ask. When everyone asks for a different feature; there's too many features to implement.
HTML defines a <main> tag: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ma...
> The <main> HTML element represents the dominant content of the <body> of a document. The main content area consists of content that is directly related to or expands upon the central topic of a document, or the central functionality of an application.
(And, yes, the above page has a "Skip to main content" link that shows when I hit tab.)
The thing is, <main> is how the page (via HTML) indicates what the main content is. The browser can have its own keystroke or semantics to find the main content.
- at_a_remove 2y agoWhat is needed is a combination of practices: widespread adoption of <main> and <nav> tags, but also for search engines to see and respect these. How many times have you searched for some technical issue plus, say, PHP ... only to find that the PHP is really just a word in a set of "related" links, autogenerated by whatever the site is? Were that in a <nav> and that respected by the search engine ... Until then, skip links aren't the worst idea.
- euroderf 2y agoHow 'bout real simple browser extensions to add a hotkey to "Scroll to <main>" ?