Skip to content

Add accessible text to Device Agent page's image-only h1 - #5604

Merged
Yndira-E merged 2 commits into
mainfrom
add-h1-tag
Aug 14, 2026
Merged

Add accessible text to Device Agent page's image-only h1#5604
Yndira-E merged 2 commits into
mainfrom
add-h1-tag

Conversation

@sumitshinde-84

Copy link
Copy Markdown
Contributor

Description

The /device-agent/ hero h1 wrapped only a logo image with no text, leaving it empty for screen readers and SEO. Added a visually-hidden sr-only span with "FlowFuse Device Agent" so the heading has real accessible/crawlable text without changing the visual design.

It's safe because sr-only only visually hides the text (it stays in the DOM/accessibility tree) and faithfully matches the image's own alt text rather than stuffing unrelated keywords, which is exactly the legitimate-accessibility pattern search engines distinguish from deceptive cloaking.

Related Issue(s)

Checklist

  • I have read the contribution guidelines
  • I have considered the performance impact of these changes
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
  • For blog PRs, an Art Request has been created (instructions)

@netlify

netlify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploy Preview for flowforge-website ready!

Name Link
🔨 Latest commit 87246aa
🔍 Latest deploy log https://app.netlify.com/projects/flowforge-website/deploys/6a7f128f031890000863c992
😎 Deploy Preview https://deploy-preview-5604--flowforge-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 63 (🟢 up 10 from production)
Accessibility: 96 (no change from production)
Best Practices: 100 (no change from production)
SEO: 85 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@Yndira-E
Yndira-E enabled auto-merge August 14, 2026 13:53
@netlify

netlify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploy Preview for flowforge-website ready!

Name Link
🔨 Latest commit 156f14a
🔍 Latest deploy log https://app.netlify.com/projects/flowforge-website/deploys/6a7f176d4386ef00086ac341
😎 Deploy Preview https://deploy-preview-5604--flowforge-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 62 (🟢 up 9 from production)
Accessibility: 96 (no change from production)
Best Practices: 100 (no change from production)
SEO: 85 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@Yndira-E
Yndira-E merged commit 36fe790 into main Aug 14, 2026
7 checks passed
@Yndira-E
Yndira-E deleted the add-h1-tag branch August 14, 2026 14:05
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