What fresh hell is THIS now? - Patrick Lauke
tabindex='-1'
…
, >
)
p
elements in that demo. Interactive elements and headings worked fine
text-indent: -9999px
. Is that a bad pattern?
<header>
and the content of the page is contained within <main>
you should be able to use an h1 in both places if you really want to.
[scottohara] i go back and forth on this a lot…
currently i’m in the camp of the site title goes in the <title>
and it doesn’t really need to be expressed in a <h1>
. Instead, for a home page, put the primary heading/message in that h1.
my feelings on this are pretty loose though…so please, call me out if that seems off to anyone
[scottohara] for instance, i just finished work on a website where the primary heading was something along the lines of:
“See how [company name] can help you with blah blah blah”
<h1>company name</h1> ... <h2>words + company name!!!!</h2>
<svg aria-labelledby="my_title"> <title id="my_title">my svg title goes here</title> ... </svg>
aria-labelledby
is necessary?
<h1>