-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headers should be inside of a section #159
Comments
Hey, @MinThaMie it would be great if you can assign this issue to me. |
@MinThaMie we should probably chat about this before any work is done. I think there is explicit work to move headers outside of the section which was motivated by a11y 🤔 |
Hi, I was working on the below task and observed that Manson mentioned that this needs to be discussed before picking this up. Can anyone let me know what the discussion made around this? |
Section elements should wrap the content and the heading element should be the first item inside. 👍 |
So the fact that sections are wrapped at all is done by a showdown plugin that wraps the HTML output from the markdown https://github.com/mansona/showdown-section-groups . You can see in the README what the before and after examples look like 👍 I guess we can update this plugin to move the header inside the section 🤔 @MelSumner do you know if we still need the |
The aria-labelledby is still useful because of implementation differences. 👍 |
Is anyone working on the ticket, otherwise I might have a look at it in the near future. |
@jenweber tried to fix this problem in #36, but with the redesign-branch merged a lot changed. So this should be started from scratch.
Before
After
The text was updated successfully, but these errors were encountered: