Breadcrumb separators are focusable with the voiceover cursor and get also announced

Created on 19 December 2024, 5 months ago

Problem/Motivation

If you step through the breadcrumb in claro in for example voiceover by pressing "VO-arrow right" the breadcrumb segment separators are focusable and are getting announced, which is not desirable (claro.mp4 - the problem is also illustrated in scott o haras example page https://scottaohara.github.io/a11y_breadcrumbs/ in the screen reader announcements section).

Steps to reproduce

  • Test any page in the admin ui with more than one segment in the breadcrumb with a screen reader

Proposed resolution

I would suggest to follow the behavior Olivero is applying (olivero.mp4)

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

๐Ÿ› Bug report
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component

Claro theme

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany rkoller Nรผrnberg, Germany

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @rkoller
  • ๐Ÿ‡จ๐Ÿ‡ดColombia luisfersegura

    I will work in this

  • ๐Ÿ‡จ๐Ÿ‡ดColombia luisfersegura

    Hi, I was not able to reproduce.

    Can you upload the videos that you mensioned?

  • ๐Ÿ‡ฉ๐Ÿ‡ชGermany rkoller Nรผrnberg, Germany

    not sure why the videos havent been uploaded and added back then. apologies. in both videos i first tab through the breadcrumb and then shift tab back to the start as illustrated by the keycastr output. then i do the same by stepping through the breadcrumb one way pressing VO arrow right... in claro the separators are announced and in focus, in olivero they are ignored.

  • ๐Ÿ‡ท๐Ÿ‡บRussia Chi

    I guess it happens because Claro is using content property for drawing the separators. The possible fix would be to use background-image instead like Olivero does.

  • Assigned to vasantha deepika
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia vasantha deepika Coimbatore
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia vasantha deepika Coimbatore
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States nm63282 Seattle, WA

    ll66382 โ†’ made their first commit to this issueโ€™s fork.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States nm63282 Seattle, WA

    I noticed this hadn't been worked in a bit so, prepared a merge request. Hopefully I've gotten the steps right. Thanks @chi for the helpful pointer in #5. I'll attached screen captures and notes shortly.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States nm63282 Seattle, WA

    I've attached screen captures showing for https://git.drupalcode.org/project/drupal/-/merge_requests/12046 breadcrumb separators with different visibility modes in macOS, also a VoiceOver screen recording from iOS. Unfortunately, I couldn't test high contrast mode on Windows; I did check appearance with Windows 11 Edge. Any feedback appreciated.

    The update uses Olivero's approach for rotated borders instead of SVG.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States nm63282 Seattle, WA
  • The Needs Review Queue Bot โ†’ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".

    This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.

    Consult the Drupal Contributor Guide โ†’ to find step-by-step guides for working with issues.

  • ๐Ÿ‡ฉ๐Ÿ‡ชGermany rkoller Nรผrnberg, Germany

    thanks for the MR @ll66382, i finally found the time today to test MR12046, a few observations:

    1. The MR fixes the basic problem the issue is about. i've tested in voiceover on macos sequoia and neither by tabbing nor by the voiceover cursor the seperators are announced anymore, excellent!
    2. If you compare the styling of the seperator between 11.x and the MR you will notice that the MR increases the separator size (compare in styling.mp4) - it seems like the separator is bigger now compared to the drupal design system
    3. The orientation of the separator in LTR is correct but for RTL it points up instead of to the left

    And the separator looks fine in forced color dark mode - it is possible to test those in for example edge on macos (what i did) . In the screenshot you see the necessary settings to set the forced color dark mode in the rendering tab:

    the other option is the page color setting in the accessibility section of the edge settings.

    and there things look also fine in for example the desert theme

Production build 0.71.5 2024