Product: axe-core
Expectation: wbr and br elements only allow the none and presentation roles. And only allow the aria-hidden attribute.
Actual: br presently allows any global aria- attribute. wbr presently allows for any role and global aria-* attribute, or aria-* attribute applicable to the assigned explicit role.
role test page for wbr
Motivation: ARIA in HTML will be changing the allowances for br and wbr elements. These elements will only allow the none and presentation roles, and the aria-hidden attribute. Other roles and global aria- attributes do not make sense to be used on these elements, particularly due to their inability to be effectively modified by authors.
axe-core version: 4.3.3
chromium 94
Edit: indicating tasks requested in this issue
Product: axe-core
Expectation:
wbrandbrelements only allow thenoneandpresentationroles. And only allow thearia-hiddenattribute.Actual:
brpresently allows any globalaria-attribute.wbrpresently allows for any role and globalaria-*attribute, oraria-*attribute applicable to the assigned explicit role.role test page for
wbrMotivation: ARIA in HTML will be changing the allowances for
brandwbrelements. These elements will only allow thenoneandpresentationroles, and thearia-hiddenattribute. Other roles and globalaria-attributes do not make sense to be used on these elements, particularly due to their inability to be effectively modified by authors.Edit: indicating tasks requested in this issue
brandwbraria-hiddenis the only allowedaria-*attribute forbrandwbrelements