Skip to content
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

Accessibility: Restructure headings #1265

Merged

Conversation

eksperimental
Copy link
Contributor

@eksperimental eksperimental commented Aug 27, 2020

It only holds the title inside the heading,
Everything else, such as links are moved our of the heading.
Everything is contained in a <div class="section-heading"> tag.

A) original**
A_orig

A) fixed**
A_fixed


B) original
B_orig

B) fixed
B_fixed


C) original
C_orig

C) fixed
C_fixed


D) original
D_orig

D) fixed
D_fixed


E) original
E_orig

E) fixed
E_fixed

It only holds the title inside the heading,
Everything else, such as links are moved our of the heading.
Everything is contained in a <div class="section-heading"> tag.
@eksperimental
Copy link
Contributor Author

It is really hard to make it look the same due to collapsing margins in CSS that now since the heading goes inside a <div> it is not possible to make it collapse.

@josevalim
Copy link
Member

@eksperimental which part doesn't look the same? At least in the screenshots they look equivalent? :)

@eksperimental
Copy link
Contributor Author

@eksperimental which part doesn't look the same? At least in the screenshots they look equivalent? :)

The look very similar but to exactly the same. It is just the gap above and bellow the headings. Save in your computer original and fixed, and alternate the view. You will see the difference.

@josevalim josevalim merged commit 8232103 into elixir-lang:master Aug 27, 2020
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@eksperimental eksperimental deleted the accessibility_headings branch August 27, 2020 13:24
josevalim added a commit that referenced this pull request Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants