Skip to content

[v13.0.0-beta.2] aria-owns for dropdown and widget divs #9798

@microbit-robert

Description

@microbit-robert

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

The main workspace needs to own the dropdown and widget divs. This will prevent the current behaviour of having the region change after interacting with a widget or dropdown div. This is worse than it used to be as the change results in the workspace region and aria-label being output again.

This requires ids for the dropdown and widget divs and aria owns set on the main workspace.

This requires a change to the aria.setState function that can currently take a list of strings as an argument and joins them with a comma. aria-owns expects a space-separate list, the current comma-separate list will not work.

Reproduction steps

Priority

No response

Stack trace

Screenshots

No response

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugDescribes why the code or behaviour is wrongissue: triageIssues awaiting triage by a Blockly team member

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions