Post B5agva6WdOJneUBbfs by skyounet@oisaur.com
 (DIR) More posts by skyounet@oisaur.com
 (DIR) Post #B5affe3G5gcDJ5UljU by MoritzGlantz@mastodon.social
       0 likes, 0 repeats
       
       What is the h1 in this picture?1. Section Title2. Subsection Title3. Something else #a11y #accessibility
       
 (DIR) Post #B5affffE60a2J8GbYG by MoritzGlantz@mastodon.social
       0 likes, 0 repeats
       
       If you chose "Subsection Title to be h1, which semantics does "Section Title" get?
       
 (DIR) Post #B5agva6WdOJneUBbfs by skyounet@oisaur.com
       0 likes, 0 repeats
       
       @MoritzGlantz "Section title" is the h1 for me and "Subsection title" is a h2 element 😊. For the "aside" part, it's going to be some nav with aria-current on the current link or stuff like that.
       
 (DIR) Post #B5akzxLmY0hCiufEIq by kraftner@mastodon.social
       0 likes, 0 repeats
       
       @MoritzGlantz Thinking about going crazy and have Section and Subsection be spans in one h1 and arrange them in the layout via CSS. 🤔
       
 (DIR) Post #B5am1l9UyFSLQPLHO4 by MoritzGlantz@mastodon.social
       0 likes, 0 repeats
       
       What is the title of the page content. I think it is not that easy to answer.
       
 (DIR) Post #B5b9lHqwXDr0ozLDYe by fnohe@ohai.social
       0 likes, 0 repeats
       
       @MoritzGlantzI'm no expert, but I'd first ask the question: What's the "document" here? If all the content under section title is loaded in the DOM at the same time, then section title is h1 and subsection title is h2, even if only one subsection is shown on a screen in order not to overwhelm screen users. If only the subsection content is loaded in the DOM, then subsection title is h1 and section title is a (pretty large) breadcrumb, which probably gets marked up as nav I suppose?
       
 (DIR) Post #B5f1S0Pt7IAkExoyPY by lidokork@hessen.social
       0 likes, 0 repeats
       
       @MoritzGlantz 1. Section Title