Skip to content

aria-valuenow set incorrectly when only the second pane is sized #362

Closed

Description

@kainiedziela

When size is set for the second of two panes only the gutter element has set aria-valuenow to *, which is not a valid value for this attribute and results in accessibility issues.

To reproduce, create this minimal boilerplate:

<as-split>
  <as-split-area></as-split-area>
  <as-split-area size="30"></as-split-area>
</as-split>

and check the .as-split-gutter element, now with aria-valuenow incorrectly set to *

Activity

  1. Harpush commented on Nov 26, 2023

    @Harpush
    Collaborator

    Is it a regression? We recently did some work around wildcard areas.
    What is the expected valuenow then? Nothing (null) or th real amount calculated with respect to being a wildcard area?

  2. kainiedziela commented on Nov 28, 2023

    @kainiedziela
    Author

    I believe it is a regression, at least it has not come up in our tests before.

    I'd say ideally it would be the real amount (0.7 in that example), but no attribute at all would be better than the invalid one used currently.

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