dequelabs / axe-core

Accessibility engine for automated Web UI testing
https://www.deque.com/axe/
Mozilla Public License 2.0
5.75k stars 746 forks source link

fix(aria-valid-attr-value): aria-controls & aria-haspopup incomplete #4418

Closed gaiety-deque closed 2 months ago

gaiety-deque commented 2 months ago

if an element has both aria-controls and aria-haspopup mark it incomplete as we are unsure if the DOM element will be added dynamically later

dev note: this is my first time adding some language locale for an incomplete, how's it look?

fix: #4363

a11ydoer commented 1 month ago

Hi, @WilcoFiers, I filed the bug report for the aria-control issue to the Deque helpdesk, and I was pointed at this issue. This update removes the error because Axe cannot check the DOM element, which will be added dynamically later. Is that correct? Thanks for the confirmation.

"whether both aria-controls and aria-haspopup mark it incomplete as we are unsure if the DOM element will be added dynamically later"