Skip to content

[Bug] Modal is not read by screen reader #574

@abbottmw

Description

@abbottmw

Modal not being read by screen reader
I was testing my page for accessibility and 508 compliance and I noticed using NVDA screen reader ( I don't have JAWS) that it does not read the Modal when it is shown.

Another thing I found is the element that triggered the Modal isn't selected when the Modal closes.

My tests
I did some basic tests and compared it with Blazor Bootstrap Modal. This Modal seems to read correctly, but it's more of a wrapper to the boostrap library.

Blazored Modal markup is a little different, unless you make your own layout.

Focus trap doesn't seem to work with a custom layout.

I created a github repo with my testing

I tested with a standard blazor wasm template on .net 8. (Chrome browser)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingTriageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions