Skip to content

Accessibility issue with Context Menu-Confirmation needed #274

@innov-richa76

Description

@innov-richa76

Describe the bug
When we are trying to use ANDI tool for checking the accessibility issue for ngx-contextmenu, we are seeing the error the below error
[Element referenced by [aria-labelledby] with [id=menubutton] not found.]. This is happening because aria-labelledby="menubutton" doesn't exist anywhere.
To Reproduce
Steps to reproduce the behavior:

  1. Go to https://perfectmemory.github.io/ngx-contextmenu/iframe.html?args=&globals=backgrounds.grid:!false;backgrounds.value:!hex(F8F8F8)&id=context-menu-demo--demo&viewMode=story
  2. Right Click on the text to see the context menu
  3. Open developer tool or use ANDI tool
  4. See the below
    image

Expected behavior
The aria-labelledby attribute value= menubutton should exists

Stackblitz Example
Please check it here base example
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions