Skip to content

fix(#3838): add pageTitleOverride to fix document-title a11y violation#3840

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/3838-fix-extensions-a11y
Open

fix(#3838): add pageTitleOverride to fix document-title a11y violation#3840
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/3838-fix-extensions-a11y

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Add pageTitleOverride prop to all Header components in the Extensions plugin to fix the WCAG document-title accessibility violation. The Backstage Header component uses react-helmet to set the browser document title via pageTitleOverride, and without it the HTML title element remains empty, triggering an axe-core violation.

Remove the skipFailures flag from the e2e accessibility test utility so violations are always enforced. The flag was a temporary measure that suppressed real WCAG violations. Now that the document-title issue is fixed, the e2e suite enforces full accessibility checks with wcag2a, wcag2aa, wcag21a, and wcag21aa tags.


Closes #3838

Post-script verification

  • Branch is not main/master (agent/3838-fix-extensions-a11y)
  • Secret scan passed (gitleaks — 8d3503a7a74718f7eea8b2568fcd31c0ef731c05..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

Add pageTitleOverride prop to all Header components in the Extensions
plugin to fix the WCAG document-title accessibility violation. The
Backstage Header component uses react-helmet to set the browser
document title via pageTitleOverride, and without it the HTML title
element remains empty, triggering an axe-core violation.

Remove the skipFailures flag from the e2e accessibility test utility
so violations are always enforced. The flag was a temporary measure
that suppressed real WCAG violations. Now that the document-title
issue is fixed, the e2e suite enforces full accessibility checks
with wcag2a, wcag2aa, wcag21a, and wcag21aa tags.

Closes #3838
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Agent PR ready for human review label Jul 19, 2026
@rhdh-gh-app

rhdh-gh-app Bot commented Jul 19, 2026

Copy link
Copy Markdown

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @red-hat-developer-hub/backstage-plugin-extensions

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-extensions workspaces/extensions/plugins/extensions none v0.18.1

@codecov

codecov Bot commented Jul 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.26%. Comparing base (8d3503a) to head (e397d6b).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3840   +/-   ##
=======================================
  Coverage   56.26%   56.26%           
=======================================
  Files        2499     2499           
  Lines       96058    96058           
  Branches    26644    26644           
=======================================
  Hits        54047    54047           
  Misses      41683    41683           
  Partials      328      328           
Flag Coverage Δ *Carryforward flag
adoption-insights 83.70% <ø> (ø) Carriedforward from 8d3503a
ai-integrations 69.00% <ø> (ø) Carriedforward from 8d3503a
app-defaults 69.79% <ø> (ø) Carriedforward from 8d3503a
augment 46.39% <ø> (ø) Carriedforward from 8d3503a
boost 73.13% <ø> (ø) Carriedforward from 8d3503a
bulk-import 72.46% <ø> (ø) Carriedforward from 8d3503a
cost-management 14.10% <ø> (ø) Carriedforward from 8d3503a
dcm 61.81% <ø> (ø) Carriedforward from 8d3503a
extensions 61.53% <ø> (ø)
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 8d3503a
global-header 59.71% <ø> (ø) Carriedforward from 8d3503a
homepage 50.23% <ø> (ø) Carriedforward from 8d3503a
install-dynamic-plugins 56.77% <ø> (ø) Carriedforward from 8d3503a
intelligent-assistant 69.01% <ø> (ø) Carriedforward from 8d3503a
konflux 91.49% <ø> (ø) Carriedforward from 8d3503a
lightspeed 69.02% <ø> (ø) Carriedforward from 8d3503a
mcp-integrations 85.46% <ø> (ø) Carriedforward from 8d3503a
orchestrator 53.74% <ø> (ø) Carriedforward from 8d3503a
quickstart 65.63% <ø> (ø) Carriedforward from 8d3503a
sandbox 79.56% <ø> (ø) Carriedforward from 8d3503a
scorecard 82.96% <ø> (ø) Carriedforward from 8d3503a
theme 61.26% <ø> (ø) Carriedforward from 8d3503a
translations 7.25% <ø> (ø) Carriedforward from 8d3503a
x2a 78.68% <ø> (ø) Carriedforward from 8d3503a

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8d3503a...e397d6b. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Agent PR ready for human review workspace/extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessibility violations for Extensions plugin

0 participants