Skip to content

fix a11y on home: one h1 and named partner links - #5222

Merged
Simek merged 3 commits into
react:mainfrom
angelabenavente:a11y/homepage-headings-and-partner-labels
Sep 2, 2026
Merged

fix a11y on home: one h1 and named partner links#5222
Simek merged 3 commits into
react:mainfrom
angelabenavente:a11y/homepage-headings-and-partner-labels

Conversation

@angelabenavente

Copy link
Copy Markdown
Contributor

This pull implements some accessibility fixes on Home.

SUMMARY

Section titles used h1 + h3, and the bottom CTA was another h1, so the page had several top-level headings.
Partner wordmarks are inline SVGs inside links with no text, so Lighthouse flagged empty links.

FIXES

  • SectionTitle has now h2 + p nodes.
  • CTA heading is h2 nodes.
  • Partner links now have aria-label;

AUDITED RESULT

Lighthouse Accessibility on the homepage: 93 → 97.


Screenshots

Headings (before) — several h1 on https://reactnative.dev/

Captura de pantalla 2026-09-01 a las 20 41 31

Headings (after) — one h1 (“React Native” title on hero)

Captura de pantalla 2026-09-01 a las 20 41 38

Partner links (before) — empty names in Lighthouse

Captura de pantalla 2026-09-01 a las 20 40 19

Partner links (after)aria-label on each company link

Captura de pantalla 2026-09-01 a las 21 24 22

Lighthouse (before) — 93

image

Lighthouse (after) — 97

image

@meta-cla meta-cla Bot added the CLA Signed label Sep 1, 2026

@Simek Simek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @angelabenavente, thanks for improving the home page a11y! 👍

Tested the changes on PR - https://deploy-preview-5222--react-native.netlify.app/

LGTM 🚀

@Simek
Simek merged commit f37293e into react:main Sep 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants