Skip to content

♿️ Improve a11y of breadcumb navigation - #1402

Open
noeddl wants to merge 6 commits into
mainfrom
noeddl/move-breadcrumbs
Open

noeddl wants to merge 6 commits into
mainfrom
noeddl/move-breadcrumbs

Conversation

@noeddl

@noeddl noeddl commented Nov 17, 2026

Copy link
Copy Markdown
Contributor
  • Add breadcumbs template block that can be overridden.
  • Move repetitive breadcrumb mark-up into reusable partial.
  • Render breadcrumps consistently in front of <main>.
  • Add CSS class .messages-overlay to handle flash messages on pages with overlay breadcrumbs.
  • Add templatetag breadcrumb_item that simplifies the definition of breadcrumbs and makes sure the breadcrumb item for the current page receives aria-current="page".

Along the way:
- Only render the organization item when there is an object. The list
  views have none, so they rendered an empty link and a trailing /.
- Drop the always-empty title attribute (Organization has no title).
- Mark the "Edit Organization" item with aria-current="page".
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