Skip to content

Commit 037c916

Browse files
committed
fix: update superClass of role doc-pullquote to match DPub-ARIA 1.1
1 parent bedb1ea commit 037c916

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/roles.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2545,7 +2545,7 @@
25452545
"requiredContextRole": [],
25462546
"requiredOwnedElements": [],
25472547
"requiredProps": [],
2548-
"superClass": ["none"]
2548+
"superClass": ["section"]
25492549
},
25502550
"doc-qna": {
25512551
"abstract": false,

src/etc/roles/dpub/docPullquoteRole.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ const docPullquoteRole: ARIARoleDefinition = {
2525
requiredProps: {},
2626
superClass: [
2727
[
28-
'none',
28+
'roletype',
29+
'structure',
30+
'section',
2931
],
3032
],
3133
};

0 commit comments

Comments
 (0)