Skip to content

Check accessible names for theme navigation links - #170

Merged
timkpaine merged 1 commit into
mainfrom
tkp/navigation-link-accessibility-tests
Oct 23, 2026
Merged

timkpaine merged 1 commit into
mainfrom
tkp/navigation-link-accessibility-tests

Conversation

@timkpaine

Copy link
Copy Markdown
Member

Description

The project-link integration test currently requires Home and Docs labels to be visible text. Check each destination, external-link attributes, and accessible name so both text links and icon buttons satisfy the test. Continue requiring both header and sidebar links.

Companion theme change: python-project-templates/sphinx-fuma#18. This PR changes only test assertions; runtime behavior, dependencies, and version are unchanged.

Validated with make lint, python -m build, and the full make test suite in a clean temporary checkout: 157 tests pass with the companion Fuma checkout. The updated integration test also passes with released Fuma; all 66 theme tests pass with the icon renderer.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor / code cleanup
  • CI / build configuration
  • Other: test compatibility

Checklist

  • Linting passes (make lint)
  • Tests pass (make test, clean temporary checkout)
  • Existing tests updated for icon/text compatibility
  • Documentation updated (not applicable)
  • Changelog / version bump (not applicable)

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

157 tests  ±0   157 ✅ ±0   27s ⏱️ +4s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit cd73626. ± Comparison against base commit 529b9db.

@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.47%. Comparing base (529b9db) to head (cd73626).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
+ Coverage   89.45%   89.47%   +0.01%     
==========================================
  Files          16       16              
  Lines        2182     2186       +4     
  Branches      224      225       +1     
==========================================
+ Hits         1952     1956       +4     
  Misses        160      160              
  Partials       70       70              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@timkpaine
timkpaine merged commit bce272c into main Oct 23, 2026
4 checks passed
@timkpaine
timkpaine deleted the tkp/navigation-link-accessibility-tests branch October 23, 2026 15:15
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.

1 participant