Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility fd-menu wrong role #12818

Open
AlexanderSchygulaEviden opened this issue Dec 6, 2024 · 0 comments
Open

Accessibility fd-menu wrong role #12818

AlexanderSchygulaEviden opened this issue Dec 6, 2024 · 0 comments

Comments

@AlexanderSchygulaEviden
Copy link

AlexanderSchygulaEviden commented Dec 6, 2024

Is this a bug, enhancement, or feature request?

enhancement

Describe your proposal.

change the role type of the fd core menu from menu to listbox.

Can you handle that on the application side

no, the nav tag that is created from the fd-menu tag is on library side only.

Which versions of Angular and Fundamental Library for Angular are affected? Please, specify the exact version. (If this is a feature request, use current version.)

Angular 17
ngx fundamental 50 and 53.2 (still the case in most current version)

If this is a bug, please provide steps for reproducing it; the exact components you are using;

create a menu with the fd-menu check the role. list items or links within an option can't be set aria-selected=true since subitems of menus cant be selected.

In case this is Accessibility related topic, did you consult with an accessibility expert? If not, please do so and share their recommendations.

Change the menu type to listbox

according to https://www.nngroup.com/articles/listbox-dropdown/#:~:text=Summary%3A%20Listboxes%20and%20dropdowns%20are,and%20support%20only%20single%2Dselection listbox is the correct role for that type of menu

Did you check the documentation and the API?

yes

Did you search for similar issues?

no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant