Skip to content

missing id property on p-menuitem #298

Answered by cetincakiroglu
balagex asked this question in PrimeNG
Discussion options

You must be logged in to vote

Hi,

We've made adjustments to the placement of id attributes in our menu components as part of our efforts to improve accessibility. Unfortunately, reverting these attributes to anchor tags is not feasible. However, you don't need to rewrite all of the tests. Instead of targeting anchors with the id attribute, you can now target list items, which requires only minimal changes. It's also important to note that the click functionality has been moved from the anchors to the div with p-menuitem-content class.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cetincakiroglu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants