Skip to content

Accessibility of offcanvas with body scrolling #3528

@MewenLeHo

Description

@MewenLeHo

Prerequisites

Describe the issue

Offcanvas panel is conceptually a modal dialog so it should obey to the corresponding design pattern for dialogs.

In this pattern:

aria-modal is set to true in orders to tells assistive technologies that the windows underneath the current dialog are not available for interaction.

Since <body> scrolling is enabled in offcanvas with body scrolling, shouldn't the aria-modal be set to false or omitted?

Reduced test cases

See also: MDN Docs about aria-modal

What operating system(s) are you seeing the problem on?

Windows, macOS, Android, iOS, Linux

What browser(s) are you seeing the problem on?

Chrome, Safari, Firefox, Microsoft Edge, Opera

What version of Boosted are you using?

v5.3.8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions