Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/standards/aria-attrs.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const ariaAttrs = {
global: true
},
'aria-details': {
type: 'idref',
type: 'idrefs',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a test case for the aria-details side of this? Unlike aria-errormessage (skipped in aria-valid-attr-value + covered by its own check), aria-details flips behavior here — aria-details="a b" was a violation before and now passes if one id resolves — and I didn't see a multi-id case covering it.

prop: 'ariaDetailsElements',
allowEmpty: true,
global: true
Expand All @@ -94,7 +94,7 @@ const ariaAttrs = {
global: true
},
'aria-errormessage': {
type: 'idref',
type: 'idrefs',
prop: 'ariaErrorMessageElements',
allowEmpty: true,
global: true
Expand Down
Loading