Skip to content

Commit 03acdc6

Browse files
committed
Update dpub roles
1 parent 6b06ec2 commit 03acdc6

1 file changed

Lines changed: 40 additions & 32 deletions

File tree

autoload/xml/aria.vim

Lines changed: 40 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -92,39 +92,47 @@ let landmark_role = [
9292
\ ]
9393

9494
" Ref: https://www.w3.org/TR/dpub-aria-1.0/
95-
" Version: W3C Candidate Recommendation 15 December 2016
95+
" Version: W3C Recommendation 14 December 2017
9696
let dpub_role = [
97-
\ 'dpub-abstract',
98-
\ 'dpub-afterword',
99-
\ 'dpub-appendix',
100-
\ 'dpub-biblioentry',
101-
\ 'dpub-bibliography',
102-
\ 'dpub-biblioref',
103-
\ 'dpub-chapter',
104-
\ 'dpub-cover',
105-
\ 'dpub-epilogue',
106-
\ 'dpub-footnote',
107-
\ 'dpub-footnotes',
108-
\ 'dpub-foreword',
109-
\ 'dpub-glossary',
110-
\ 'dpub-glossdef',
111-
\ 'dpub-glossref',
112-
\ 'dpub-glossterm',
113-
\ 'dpub-index',
114-
\ 'dpub-locator',
115-
\ 'dpub-noteref',
116-
\ 'dpub-notice',
117-
\ 'dpub-pagebreak',
118-
\ 'dpub-pagelist',
119-
\ 'dpub-part',
120-
\ 'dpub-preface',
121-
\ 'dpub-prologue',
122-
\ 'dpub-pullquote',
123-
\ 'dpub-qna',
124-
\ 'dpub-subtitle',
125-
\ 'dpub-tip',
126-
\ 'dpub-title',
127-
\ 'dpub-toc'
97+
\ 'doc-abstract',
98+
\ 'doc-acknowledgments',
99+
\ 'doc-afterword',
100+
\ 'doc-appendix',
101+
\ 'doc-backlink',
102+
\ 'doc-biblioentry',
103+
\ 'doc-bibliography',
104+
\ 'doc-biblioref',
105+
\ 'doc-chapter',
106+
\ 'doc-colophon',
107+
\ 'doc-conclusion',
108+
\ 'doc-cover',
109+
\ 'doc-credit',
110+
\ 'doc-credits',
111+
\ 'doc-dedication',
112+
\ 'doc-endnote',
113+
\ 'doc-endnotes',
114+
\ 'doc-epigraph',
115+
\ 'doc-epilogue',
116+
\ 'doc-errata',
117+
\ 'doc-example',
118+
\ 'doc-footnote',
119+
\ 'doc-foreword',
120+
\ 'doc-glossary',
121+
\ 'doc-glossref',
122+
\ 'doc-index',
123+
\ 'doc-introduction',
124+
\ 'doc-noteref',
125+
\ 'doc-notice',
126+
\ 'doc-pagebreak',
127+
\ 'doc-pagelist',
128+
\ 'doc-part',
129+
\ 'doc-preface',
130+
\ 'doc-prologue',
131+
\ 'doc-pullquote',
132+
\ 'doc-qna',
133+
\ 'doc-subtitle',
134+
\ 'doc-tip',
135+
\ 'doc-toc'
128136
\ ]
129137

130138
let role = extend(widget_role, document_structure)

0 commit comments

Comments
 (0)