[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master f1cac66 11/23: Refine some ARIA checking to sync w/ curren
From: |
Stefan Monnier |
Subject: |
[elpa] master f1cac66 11/23: Refine some ARIA checking to sync w/ current spec |
Date: |
Thu, 14 Jan 2016 19:22:36 +0000 |
branch: master
commit f1cac663a191cd6fb532cd01824d61d163e020f0
Author: Michael[tm] Smith <address@hidden>
Commit: Michael[tm] Smith <address@hidden>
Refine some ARIA checking to sync w/ current spec
---
applications.rnc | 38 +-------------------------------------
block.rnc | 9 ++++-----
data.rnc | 4 ++--
structural.rnc | 2 --
web-forms.rnc | 13 +++----------
5 files changed, 10 insertions(+), 56 deletions(-)
diff --git a/applications.rnc b/applications.rnc
index 2a592fb..618814d 100644
--- a/applications.rnc
+++ b/applications.rnc
@@ -91,8 +91,6 @@ datatypes w = "http://whattf.org/datatype-draft"
& progress.attrs.max?
& ( common.attrs.aria.implicit.progressbar
| common.attrs.aria.role.progressbar
- | common.attrs.aria.role.presentation
- | common.attrs.aria.role.menuitem
)?
)
progress.attrs.value =
@@ -371,40 +369,7 @@ datatypes w = "http://whattf.org/datatype-draft"
( common.attrs
& details.attrs.open?
& ( common.attrs.aria.implicit.group #
aria-expanded must be true if open attr present; check by assertions
- | common.attrs.aria.role.alertdialog
- | common.attrs.aria.role.banner
- | common.attrs.aria.role.button
- | common.attrs.aria.role.combobox
- | common.attrs.aria.role.dialog
- | common.attrs.aria.role.directory
| common.attrs.aria.role.group
- | common.attrs.aria.role.heading
- | common.attrs.aria.role.img
- | common.attrs.aria.role.link
- | common.attrs.aria.role.list
- | common.attrs.aria.role.listbox
- | common.attrs.aria.role.listitem
- | common.attrs.aria.role.log
- | common.attrs.aria.role.marquee
- | common.attrs.aria.role.menu
- | common.attrs.aria.role.menubar
- | common.attrs.aria.role.note
- | common.attrs.aria.role.status
- | common.attrs.aria.role.tab
- | common.attrs.aria.role.tablist
- | common.attrs.aria.role.tabpanel
- | common.attrs.aria.role.toolbar
- | common.attrs.aria.role.tree
- | common.attrs.aria.role.treeitem
- | common.attrs.aria.landmark.application
- | common.attrs.aria.landmark.article
- | common.attrs.aria.landmark.complementary
- | common.attrs.aria.landmark.contentinfo
- | common.attrs.aria.landmark.document
- | common.attrs.aria.landmark.form
- | common.attrs.aria.landmark.main
- | common.attrs.aria.landmark.navigation
- | common.attrs.aria.landmark.search
)?
)
details.attrs.open =
@@ -424,8 +389,7 @@ datatypes w = "http://whattf.org/datatype-draft"
element summary { summary.inner & summary.attrs }
summary.attrs =
( common.attrs
- & ( common.attrs.aria.role.presentation
- | common.attrs.aria.role.menuitem
+ & ( common.attrs.aria.implicit.button
| common.attrs.aria.role.button
)?
)
diff --git a/block.rnc b/block.rnc
index cd2980d..6d0eb0d 100644
--- a/block.rnc
+++ b/block.rnc
@@ -26,10 +26,7 @@ datatypes w = "http://whattf.org/datatype-draft"
element hr { hr.inner & hr.attrs }
hr.attrs =
( common.attrs
- & ( common.attrs.aria.role.separator
- | common.attrs.aria.role.presentation
- | common.attrs.aria.role.menuitem
- )?
+ & common.attrs.aria.role.separator?
)
hr.inner =
( empty )
@@ -180,7 +177,9 @@ datatypes w = "http://whattf.org/datatype-draft"
element dl { dl.inner & dl.attrs }
dl.attrs =
( common.attrs
- & common.attrs.aria?
+ & ( common.attrs.aria.implicit.list
+ | common.attrs.aria.role.list
+ )?
)
dl.inner =
( ( ( dt.elem
diff --git a/data.rnc b/data.rnc
index acb7964..991f698 100644
--- a/data.rnc
+++ b/data.rnc
@@ -60,8 +60,8 @@ datatypes w = "http://whattf.org/datatype-draft"
& meter.attrs.high?
& meter.attrs.max?
& meter.attrs.optimum?
- & ( common.attrs.aria.role.presentation
- | common.attrs.aria.role.menuitem
+ & ( common.attrs.aria.implicit.progressbar
+ | common.attrs.aria.role.progressbar
)?
)
meter.attrs.value =
diff --git a/structural.rnc b/structural.rnc
index 9e72b5f..ebb26bd 100644
--- a/structural.rnc
+++ b/structural.rnc
@@ -37,8 +37,6 @@
( common.attrs
& ( common.attrs.aria.implicit.navigation
| common.attrs.aria.landmark.navigation
- | common.attrs.aria.role.menuitem
- | common.attrs.aria.role.presentation
)?
)
nav.inner =
diff --git a/web-forms.rnc b/web-forms.rnc
index 3f89143..a0d1d50 100644
--- a/web-forms.rnc
+++ b/web-forms.rnc
@@ -322,8 +322,6 @@ datatypes w = "http://whattf.org/datatype-draft"
& shared-form.attrs.readonly?
& textarea.attrs.rows-and-cols-wf1
& ( common.attrs.aria.implicit.textbox
- | common.attrs.aria.role.presentation
- | common.attrs.aria.role.menuitem
| common.attrs.aria.role.textbox
)?
#FIXME onfocus, onblur, onselect,onchange
@@ -364,10 +362,6 @@ datatypes w = "http://whattf.org/datatype-draft"
& option.attrs.value?
& ( common.attrs.aria.implicit.option
| common.attrs.aria.role.option
- | common.attrs.aria.role.menuitem
- | common.attrs.aria.role.menuitemradio
- | common.attrs.aria.role.menuitemcheckbox
- | common.attrs.aria.role.presentation
)?
)
option.attrs.selected =
@@ -418,9 +412,6 @@ datatypes w = "http://whattf.org/datatype-draft"
# FIXME onfocus, onblur, onchange
& ( common.attrs.aria.implicit.listbox
| common.attrs.aria.role.listbox #
aria-multiselectable depends on "multiple" value; check in assertions
- | common.attrs.aria.role.menu
- | common.attrs.aria.role.presentation
- | common.attrs.aria.role.menuitem
)?
)
select.attrs.size =
@@ -536,7 +527,9 @@ datatypes w = "http://whattf.org/datatype-draft"
& form.attrs.enctype?
& common-form.attrs.name?
& form.attrs.accept-charset?
- & common.attrs.aria?
+ & ( common.attrs.aria.implicit.group
+ | common.attrs.aria.role.group
+ )?
)
form.attrs.action =
attribute action {
- [elpa] master c531523 02/23: Added warning that assertions.sch isn't maintained, (continued)
- [elpa] master c531523 02/23: Added warning that assertions.sch isn't maintained, Stefan Monnier, 2016/01/14
- [elpa] master 242f515 07/23: Emit error for empty form-control `name` attr., Stefan Monnier, 2016/01/14
- [elpa] master e2f495e 06/23: Allow ruby <rb> & <rtc> elements., Stefan Monnier, 2016/01/14
- [elpa] master 8b4cba1 08/23: Corrected the content model for the ruby element., Stefan Monnier, 2016/01/14
- [elpa] master a9ca633 04/23: Make input[type]-specific error msgs more clear., Stefan Monnier, 2016/01/14
- [elpa] master 85521bf 13/23: Make "integrity" checking more helpful, Stefan Monnier, 2016/01/14
- [elpa] master 103dc56 09/23: (Re)corrected content model for the ruby element., Stefan Monnier, 2016/01/14
- [elpa] master 76e0657 10/23: Allow ol>li[role=menuitem] & ol>li[role=tab]., Stefan Monnier, 2016/01/14
- [elpa] master c3b8596 14/23: Sync up with latest ARIA-in-HTML spec changes, Stefan Monnier, 2016/01/14
- [elpa] master 1c11a56 12/23: Add the "integrity" attribute, Stefan Monnier, 2016/01/14
- [elpa] master f1cac66 11/23: Refine some ARIA checking to sync w/ current spec,
Stefan Monnier <=
- [elpa] master ae3a23b 19/23: Allow the "nonce" attribute, Stefan Monnier, 2016/01/14
- [elpa] master 44fe4a7 16/23: Allow "minlength", Stefan Monnier, 2016/01/14
- [elpa] master 67350aa 15/23: Allow ARIA role=switch, Stefan Monnier, 2016/01/14
- [elpa] master fec8cdf 20/23: Add CSP syntax checking for <meta> & HTTP header, Stefan Monnier, 2016/01/14
- [elpa] master 6e7c7c3 21/23: Make minlength checking behave as expected, Stefan Monnier, 2016/01/14
- [elpa] master 7635384 17/23: Align iframe[sandbox] checking with spec, Stefan Monnier, 2016/01/14
- [elpa] master 1f870ab 18/23: Align event-handler-attribute checking with spec, Stefan Monnier, 2016/01/14
- [elpa] master a426434 23/23: * html5-schema: Add locating-rules.xml and setup nxml to use it, Stefan Monnier, 2016/01/14
- [elpa] master dcd917c 01/23: Consolidated all RelaxNG files into `/schema` dir., Stefan Monnier, 2016/01/14
- [elpa] master 07bcdb8 22/23: Add 'packages/html5-schema/' from commit '6e7c7c331e7f6692be6c7d39fb9485792f0d3513', Stefan Monnier, 2016/01/14