Skip to content

aria-allowed-attr ignore aria-multiline=false on element with contenteditable  #4463

@WilcoFiers

Description

@WilcoFiers

We've seen examples where devs have put aria-multinline=false on elements with contenteditable, with a role that doesn't support them. The reason for this turns out to be that Safari will otherwise announce that element as being a multinline element. We've seen this on an element with role=combobox, but it would be good to test whether this behavior happens with other roles too.

At least the following should pass axe-core:

<!-- This passes -->
<div aria-multiline="false" tabindex="0" aria-labelledby="foo" role="combobox" contenteditable>

Metadata

Metadata

Assignees

Labels

fixBug fixesrulesIssue or false result from an axe-core rulesupport

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions