Skip to content

Commit

Permalink
fix: update superClass of role doc-pullquote to match DPub-ARIA 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
huynhducduy authored and ljharb committed Jul 8, 2024
1 parent 7020819 commit b357c51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/roles.json
Original file line number Diff line number Diff line change
Expand Up @@ -2625,7 +2625,7 @@
"requiredContextRole": [],
"requiredOwnedElements": [],
"requiredProps": [],
"superClass": ["none"]
"superClass": ["section"]
},
"doc-qna": {
"abstract": false,
Expand Down
4 changes: 3 additions & 1 deletion src/etc/roles/dpub/docPullquoteRole.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ const docPullquoteRole: ARIARoleDefinition = {
requiredProps: {},
superClass: [
[
'none',
'roletype',
'structure',
'section',
],
],
};
Expand Down

0 comments on commit b357c51

Please sign in to comment.