Skip to content

Jaws announcements not working - ARIA role should be Slider instead of Separator #446

Open

Description

@sumegha26

Describe the bug
When Jaws is ON and I focus on gutter and press arrow keys - Left/Right or Up/Down gutter not getting resized it remains in same position

Suggestion -

Using Slider role on gutter instead of Separator works

Related issues - #349

Activity

  1. sumegha26 commented on Jul 16, 2024

    @sumegha26
    Author

    any update on this ?

  2. Harpush commented on Jul 18, 2024

    @Harpush
    Collaborator

    Considering there was a PR to flip it to role separator from slider - we need to decide whether we want to allow it to be customizable or deicide which of the roles is the correct one for a split component

  3. SanderElias commented on May 19, 2025

    @SanderElias
    Contributor

    @Harpush is this something we still need to attend to? If not, we can close this issue.

  4. Harpush commented on May 19, 2025

    @Harpush
    Collaborator

    I am not sure... I am not that knowledgeable about ARIA and what's correct as role here

  5. SanderElias commented on May 19, 2025

    @SanderElias
    Contributor

    Euhm. I did dig in a bit. There is a catch-22 here.
    The thing is, it is both a separator (as discussed in #349), but at the same time it is also a slider as it allows you to "input a new value for the placing of the separator"

    I will try to figure out if adding both is allowed.

  6. SanderElias commented on May 19, 2025

    @SanderElias
    Contributor

    @Harpush, I consulted the W3c. role mapping is allowed.
    It will use the first supported one tho.

    So if we put the role like this:

    <splitter role="slider separator" />

    It will address the issue, but it will also effectively make it a slider. (which it is)
    A comment in the code should explain this a bit, so we don't swap it again and break the expected functionality.

    Addendum: This has already open issues in the W3C ARIA repos, and a new role for this kind of element is being considered. Once that lands, we should put that role first.

  7. Harpush commented on May 19, 2025

    @Harpush
    Collaborator

    We can also add an input for it... Might be an overkill though

  8. SanderElias commented on May 19, 2025

    @SanderElias
    Contributor

    @Harpush, Update on the issue: mdn separaotr docs

    According to this, we need to add the value/min/max things to make it focusable. The question is, would JAWS agree?

    I don't like to add an extra input for this. It extends the API for very little benefit, but I think the bug deserves some attention.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions