Skip to content

47160: Sync accessibility fixes from Convivial GovCMS Morphos theme.#2

Closed
tanashin-kishimoto wants to merge 1 commit into
masterfrom
47160
Closed

47160: Sync accessibility fixes from Convivial GovCMS Morphos theme.#2
tanashin-kishimoto wants to merge 1 commit into
masterfrom
47160

Conversation

@tanashin-kishimoto

Copy link
Copy Markdown

Upstream the local modifications carried in the theme's vendored copy:

  • Rework panel open/close traversal (siblings/closest instead of filter)
  • Rewrite previously-open item detection with an openli.is(topli) guard
  • Guard scroll-position fix and measure from the top nav item
  • Follow href on Enter for panel-less top level links
  • Treat Enter on an open top level link as escape (close panel)
  • Stricter ChromeVox detection
  • Drop aria-pressed from toggle button and aria-expanded from panels
  • Use find("a").first() and panel class lookup during init

Upstream the local modifications carried in the theme's vendored copy:

- Rework panel open/close traversal (siblings/closest instead of filter)
- Rewrite previously-open item detection with an openli.is(topli) guard
- Guard scroll-position fix and measure from the top nav item
- Follow href on Enter for panel-less top level links
- Treat Enter on an open top level link as escape (close panel)
- Stricter ChromeVox detection
- Drop aria-pressed from toggle button and aria-expanded from panels
- Use find("a").first() and panel class lookup during init

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@tanashin-kishimoto

Copy link
Copy Markdown
Author

Declined this PR. Keep a fork repo as-is.

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