Skip to content

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented Jan 20, 2025

Lighthouse reported on the landing page that Heading elements are not in a sequentially-descending order, complaining about semantic level. At first, I've tried to remove the element content of the a link, but for some weird styling issue, it cropped out the bottom of the label, e.g. g characters became unreadable. Switching the h3 to span and adding ARIA attributes seems to be the proper fix here.

@isoos isoos requested review from jonasfj and sigurdm January 20, 2025 14:42
Copy link
Contributor

@sigurdm sigurdm left a comment

Choose a reason for hiding this comment

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

Surprising that we need this - but can't say I have a better idea.

@isoos isoos merged commit 764e1a8 into dart-lang:master Jan 20, 2025
31 checks passed
@isoos isoos deleted the home-h3 branch January 20, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants