Skip to content

Add role="dialog" to improve accessibility #1289

@vinicius73

Description

@vinicius73

Describe the bug
When we open a file with text app, and click outside of editor, the focus gone back to parent elements of viewer, the file list, menus...

To Reproduce
Steps to reproduce the behavior:

  1. Go to files app
  2. Click on any markdown file
  3. Click outside the editor
  4. Use tab key to change the focus and navigate over the elements of the page.

Expected behavior
Focus runs over menu bar of text editor.

Additional context

nextcloud/text#2387
nextcloud/text#2713
nextcloud-libraries/nextcloud-vue#2501

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions