summaryrefslogtreecommitdiffstats
path: root/autoload/xml/aria.vim
diff options
context:
space:
mode:
authorDan Reif <dan.reif@collectivehealth.com>2018-04-30 12:00:42 -0700
committerDan Reif <dan.reif@collectivehealth.com>2018-04-30 12:00:42 -0700
commit3e0c887365bc1ebd55b91dd69ab73f2dee1f00ed (patch)
treece76003a08274cb805df101a44be8d37af1a4c4b /autoload/xml/aria.vim
parentb4d7993e7ea554153025c5072749f415e69e0323 (diff)
downloadvim-polyglot-3e0c887365bc1ebd55b91dd69ab73f2dee1f00ed.tar.gz
vim-polyglot-3e0c887365bc1ebd55b91dd69ab73f2dee1f00ed.zip
Update (periodic rebuild)
I originally meant to run this before adding haproxy, but accidentally pushed that into my branch. If you'd like to see that content, it's at https://github.com/CH-DanReif/vim-polyglot/commit/414ad25c3ad1ab9c4b6a99fe4f08d6c30b7e0f57.
Diffstat (limited to 'autoload/xml/aria.vim')
-rw-r--r--autoload/xml/aria.vim81
1 files changed, 49 insertions, 32 deletions
diff --git a/autoload/xml/aria.vim b/autoload/xml/aria.vim
index 2a3c88f0..5e642e1d 100644
--- a/autoload/xml/aria.vim
+++ b/autoload/xml/aria.vim
@@ -94,44 +94,61 @@ let landmark_role = [
\ ]
" Ref: https://www.w3.org/TR/dpub-aria-1.0/
-" Version: W3C Candidate Recommendation 15 December 2016
+" Version: W3C Recommendation 14 December 2017
let dpub_role = [
- \ 'dpub-abstract',
- \ 'dpub-afterword',
- \ 'dpub-appendix',
- \ 'dpub-biblioentry',
- \ 'dpub-bibliography',
- \ 'dpub-biblioref',
- \ 'dpub-chapter',
- \ 'dpub-cover',
- \ 'dpub-epilogue',
- \ 'dpub-footnote',
- \ 'dpub-footnotes',
- \ 'dpub-foreword',
- \ 'dpub-glossary',
- \ 'dpub-glossdef',
- \ 'dpub-glossref',
- \ 'dpub-glossterm',
- \ 'dpub-index',
- \ 'dpub-locator',
- \ 'dpub-noteref',
- \ 'dpub-notice',
- \ 'dpub-pagebreak',
- \ 'dpub-pagelist',
- \ 'dpub-part',
- \ 'dpub-preface',
- \ 'dpub-prologue',
- \ 'dpub-pullquote',
- \ 'dpub-qna',
- \ 'dpub-subtitle',
- \ 'dpub-tip',
- \ 'dpub-title',
- \ 'dpub-toc'
+ \ 'doc-abstract',
+ \ 'doc-acknowledgments',
+ \ 'doc-afterword',
+ \ 'doc-appendix',
+ \ 'doc-backlink',
+ \ 'doc-biblioentry',
+ \ 'doc-bibliography',
+ \ 'doc-biblioref',
+ \ 'doc-chapter',
+ \ 'doc-colophon',
+ \ 'doc-conclusion',
+ \ 'doc-cover',
+ \ 'doc-credit',
+ \ 'doc-credits',
+ \ 'doc-dedication',
+ \ 'doc-endnote',
+ \ 'doc-endnotes',
+ \ 'doc-epigraph',
+ \ 'doc-epilogue',
+ \ 'doc-errata',
+ \ 'doc-example',
+ \ 'doc-footnote',
+ \ 'doc-foreword',
+ \ 'doc-glossary',
+ \ 'doc-glossref',
+ \ 'doc-index',
+ \ 'doc-introduction',
+ \ 'doc-noteref',
+ \ 'doc-notice',
+ \ 'doc-pagebreak',
+ \ 'doc-pagelist',
+ \ 'doc-part',
+ \ 'doc-preface',
+ \ 'doc-prologue',
+ \ 'doc-pullquote',
+ \ 'doc-qna',
+ \ 'doc-subtitle',
+ \ 'doc-tip',
+ \ 'doc-toc'
+\ ]
+
+" Ref: https://www.w3.org/TR/graphics-aria-1.0/
+" Version: W3C Candidate Recommendation 29 March 2018
+let graphic_role = [
+ \ 'graphics-document',
+ \ 'graphics-object',
+ \ 'graphics-symbol'
\ ]
let role = extend(widget_role, document_structure)
let role = extend(role, landmark_role)
let role = extend(role, dpub_role)
+let role = extend(role, graphic_role)
" https://www.w3.org/TR/wai-aria-1.1/#states_and_properties
let global_states_and_properties = {