Skip to content

Move action links out from heading tags #1993

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

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

DavidOliver
Copy link
Contributor

@angelikatyborska, @josevalim,

This draft PR only updates the headings which contain action links:

  • top-of-page headings;
  • callback and function headings.

Headings which contain hover links are not changed here; the hover links do not include text so I believe "Navigated to ..." announcements are okay, and changing these headings would require some more styling updates. If it needs to be done I can look at doing so, but I thought I'd get you to take a look before spending more time on it.

@angelikatyborska, if you could take another look, that would be great.

Still to do:

  • Checking callback/function annotations (e.g., 'macro'), which may be affected, though I'm hoping they will still be correctly aligned.
  • Test updates.

I'll wait to hear back.


Avoids action link text being read out as part of "navigated to..." announcements.

#1987

@josevalim
Copy link
Member

LGTM! :) Thank you!

@DavidOliver
Copy link
Contributor Author

Annotation-related ordering and alignment needs bringing into line. I'll update that and the tests soon.

Avoids action link text being read out as part of "navigated to..."
announcements.

elixir-lang#1987
@DavidOliver DavidOliver force-pushed the heading-accessibility-1 branch from 57c9b4e to 19e9d9b Compare January 2, 2025 23:31
@DavidOliver
Copy link
Contributor Author

Function annotations now re-aligned and tests updated.

Headings now use Flexbox rather than floats, and respond better to narrow viewports:

image

@DavidOliver DavidOliver marked this pull request as ready for review January 2, 2025 23:35
@josevalim
Copy link
Member

Closing and reopening for CI.

@josevalim josevalim closed this Jan 3, 2025
@josevalim josevalim reopened this Jan 3, 2025
Copy link

github-actions bot commented Jan 6, 2025

@josevalim josevalim merged commit 04c3ca7 into elixir-lang:main Jan 7, 2025
4 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

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.

2 participants