[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master c3b8596 14/23: Sync up with latest ARIA-in-HTML spec chang
From: |
Stefan Monnier |
Subject: |
[elpa] master c3b8596 14/23: Sync up with latest ARIA-in-HTML spec changes |
Date: |
Thu, 14 Jan 2016 19:22:37 +0000 |
branch: master
commit c3b8596f4688889114430b133b95da50f03735c4
Author: Michael[tm] Smith <address@hidden>
Commit: Michael[tm] Smith <address@hidden>
Sync up with latest ARIA-in-HTML spec changes
This allows role=group for <header> & <footer>, and role=search for <form>.
Fixes #185. Fixes #193.
---
aria.rnc | 3 +++
common.rnc | 1 +
structural.rnc | 2 ++
web-forms.rnc | 6 ++++--
4 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/aria.rnc b/aria.rnc
index 3e724a1..4f2d22b 100644
--- a/aria.rnc
+++ b/aria.rnc
@@ -53,6 +53,9 @@ common.attrs.aria.implicit.dialog |=
common.attrs.aria.implicit.document |=
( aria.state.expanded? )
+common.attrs.aria.implicit.form |=
+ ( aria.state.expanded? )
+
common.attrs.aria.implicit.group |=
( aria.state.expanded?
& aria.prop.activedescendant?
diff --git a/common.rnc b/common.rnc
index 6ac04aa..4436010 100644
--- a/common.rnc
+++ b/common.rnc
@@ -479,6 +479,7 @@ common.attrs.aria.implicit.complementary = ( notAllowed )
common.attrs.aria.implicit.contentinfo = ( notAllowed )
common.attrs.aria.implicit.dialog = ( notAllowed )
common.attrs.aria.implicit.document = ( notAllowed )
+common.attrs.aria.implicit.form = ( notAllowed )
common.attrs.aria.implicit.group = ( notAllowed )
common.attrs.aria.implicit.heading = ( notAllowed )
common.attrs.aria.implicit.img = ( notAllowed )
diff --git a/structural.rnc b/structural.rnc
index ebb26bd..410f34d 100644
--- a/structural.rnc
+++ b/structural.rnc
@@ -93,6 +93,7 @@
( common.attrs
& ( common.attrs.aria.implicit.banner
| common.attrs.aria.landmark.banner
+ | common.attrs.aria.role.group
| common.attrs.aria.role.presentation
)?
)
@@ -109,6 +110,7 @@
( common.attrs
& ( common.attrs.aria.implicit.contentinfo
| common.attrs.aria.landmark.contentinfo
+ | common.attrs.aria.role.group
| common.attrs.aria.role.presentation
)?
)
diff --git a/web-forms.rnc b/web-forms.rnc
index a0d1d50..1372b7a 100644
--- a/web-forms.rnc
+++ b/web-forms.rnc
@@ -527,8 +527,10 @@ datatypes w = "http://whattf.org/datatype-draft"
& form.attrs.enctype?
& common-form.attrs.name?
& form.attrs.accept-charset?
- & ( common.attrs.aria.implicit.group
- | common.attrs.aria.role.group
+ & ( common.attrs.aria.implicit.form
+ | common.attrs.aria.landmark.form
+ | common.attrs.aria.role.search
+ | common.attrs.aria.role.presentation
)?
)
form.attrs.action =
- [elpa] master 9b44795 03/23: Exit the meta[name]-checking business., (continued)
- [elpa] master 9b44795 03/23: Exit the meta[name]-checking business., Stefan Monnier, 2016/01/14
- [elpa] master 2d5e35e 05/23: Report warning for inputmode (instead of error)., Stefan Monnier, 2016/01/14
- [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 <=
- [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, 2016/01/14
- [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