[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trans-coord/gnun/server/gnun AUTHORS ChangeLog ...
From: |
Ineiev |
Subject: |
trans-coord/gnun/server/gnun AUTHORS ChangeLog ... |
Date: |
Wed, 17 Feb 2021 11:22:32 -0500 (EST) |
CVSROOT: /sources/trans-coord
Module name: trans-coord
Changes by: Ineiev <ineiev> 21/02/17 11:22:32
Modified files:
gnun/server/gnun: AUTHORS ChangeLog NEWS THANKS
gnun/server/gnun/dtd: html5.dtd
Log message:
* dtd/html5.dtd: Remove obsolete attributes,
(a): charset coords name rev shape,
(col, colgroup, thead, tfoot, tbody, td, th, tr):
align valign char charoff,
(form): accept,
(head): profile,
(img): longdesc,
(link): charset,
(meta): scheme,
(object): archive classid codebase codetype declare standby.
(div, ul, ol, dl, dt, form): Add the 'role' attribute.
(%coreattrs): Include %focus; add 'aria-labelledby' and
'aria-describedby'.
* AUTHORS:
* NEWS:
* THANKS: Update.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/AUTHORS?cvsroot=trans-coord&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.489&r2=1.490
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/NEWS?cvsroot=trans-coord&r1=1.148&r2=1.149
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/THANKS?cvsroot=trans-coord&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/dtd/html5.dtd?cvsroot=trans-coord&r1=1.4&r2=1.5
Patches:
Index: AUTHORS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/AUTHORS,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- AUTHORS 12 Jan 2021 10:25:07 -0000 1.27
+++ AUTHORS 17 Feb 2021 16:22:31 -0000 1.28
@@ -14,6 +14,10 @@
Kaloian Doganov <kaloian@gnu.org>
Yavor Doganov <yavor@gnu.org> Original authors
+Thérèse Godefroy <thg@gnu.org>
+
+ Some changes in dtd/html5.dtd.
+
Pavel Kharitonov <ineiev@gnu.org>
Add add-fuzzy-diff.in, copy-msgid.in, diff-page-head.html,
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.489
retrieving revision 1.490
diff -u -b -r1.489 -r1.490
--- ChangeLog 12 Feb 2021 18:25:18 -0000 1.489
+++ ChangeLog 17 Feb 2021 16:22:31 -0000 1.490
@@ -1,3 +1,22 @@
+2021-02-17 Thérèse Godefroy <thg@gnu.org>
+
+ * dtd/html5.dtd: Remove obsolete attributes,
+ (a): charset coords name rev shape,
+ (col, colgroup, thead, tfoot, tbody, td, th, tr):
+ align valign char charoff,
+ (form): accept,
+ (head): profile,
+ (img): longdesc,
+ (link): charset,
+ (meta): scheme,
+ (object): archive classid codebase codetype declare standby.
+ (div, ul, ol, dl, dt, form): Add the 'role' attribute.
+ (%coreattrs): Include %focus; add 'aria-labelledby' and
+ 'aria-describedby'.
+ * AUTHORS:
+ * NEWS:
+ * THANKS: Update.
+
2021-02-12 Pavel Kharitonov <ineiev@gnu.org>
* doc/web-trans.texi (New Team): Update counters.
Index: NEWS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/NEWS,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -b -r1.148 -r1.149
--- NEWS 12 Jan 2021 09:43:45 -0000 1.148
+++ NEWS 17 Feb 2021 16:22:31 -0000 1.149
@@ -1,6 +1,11 @@
GNUnited Nations NEWS - User visible changes.
* Changes in GNUnited Nations 1.1 (????-??-??)
+* When validating as HTML5, obsolete attributes are not allowed any more;
+ the 'role' attribute is added to <div>, <ul>, <ol>, <dl>, <dt>, <form>;
+ %focus is included in global attributes; 'aria-labelledby' and
+ 'aria-describedby' are added to global attributes.
+
** Bugs fixed in 1.1
** 'gnun-report' didn't list untranslated optional templates.
Index: THANKS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/THANKS,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- THANKS 12 Feb 2021 19:59:01 -0000 1.21
+++ THANKS 17 Feb 2021 16:22:32 -0000 1.22
@@ -20,7 +20,6 @@
Rafael Beraldo
Rafael Fontenelle
Richard Stallman
-Thérèse Godefroy
Tiberiu C. Turbureanu
WacÅaw Jacek
Index: dtd/html5.dtd
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/dtd/html5.dtd,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- dtd/html5.dtd 27 Dec 2019 10:38:08 -0000 1.4
+++ dtd/html5.dtd 17 Feb 2021 16:22:32 -0000 1.5
@@ -7,8 +7,25 @@
* make rel attribute required in <link>s
* define new tags for media: <audio>, <video>, <source>, <track>
+ The modifications made on February 2021 (based on
+ https://www.w3.org/TR/html50/ (2014) and https://www.w3.org/TR/html-aria/):
+ * remove obsolete attributes: align char charoff valign,
+ <a>: charset coords name rev shape,
+ <col> <colgroup> <thead> <tfoot> <tbody>
+ <td> <th> <tr>: align valign char charoff,
+ <form>: accept,
+ <head>: profile,
+ <img>: longdesc,
+ <link>: charset,
+ <meta>: scheme,
+ <object>: archive classid codebase codetype declare
+ standby;
+ * include %focus in the global attributes;
+ * new global attributes: aria-labelledby, aria-describedby;
+ * add role attribute to <div>, <ul>, <ol>, <dl>, <dt>, <form>.
+
The modifications are
- Copyright (C) 2011, 2012, 2019 Free Software Foundation, Inc.
+ Copyright (C) 2011, 2012, 2019, 2021 Free Software Foundation, Inc.
This file is not part of GNUnited Nations, but is used
with GNUnited Nations.
@@ -117,9 +134,6 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
- $Revision: 1.4 $
- $Date: 2019/12/27 10:38:08 $
-
-->
<!--================ Character mnemonic entities =========================-->
@@ -265,7 +279,18 @@
onblur %Script; #IMPLIED"
>
-<!ENTITY % attrs "%coreattrs; %i18n; %events;">
+<!-- A few ARIA global attributes
+ https://www.w3.org/TR/wai-aria-1.1/#global_states
+-->
+<!ENTITY % aria
+ "aria-describedby %Text; #IMPLIED
+ aria-labelledby %Text; #IMPLIED"
+ >
+
+<!-- Incomplete set of HTML5 global attributes
+ They may have no effect on some elements.
+-->
+<!ENTITY % attrs "%coreattrs; %i18n; %events; %focus; %aria;">
<!--=================== Text Elements ====================================-->
@@ -356,7 +381,6 @@
<!ATTLIST head
%i18n;
id ID #IMPLIED
- profile %URI; #IMPLIED
>
<!-- The title element is not considered part of the flow of text.
@@ -385,7 +409,6 @@
http-equiv CDATA #IMPLIED
name CDATA #IMPLIED
content CDATA #REQUIRED
- scheme CDATA #IMPLIED
>
<!--
@@ -405,7 +428,6 @@
<!ELEMENT link EMPTY>
<!ATTLIST link
%attrs;
- charset %Charset; #IMPLIED
href %URI; #IMPLIED
hreflang %LanguageCode; #IMPLIED
type %ContentType; #IMPLIED
@@ -453,8 +475,13 @@
>
<!ELEMENT div %Flow;> <!-- generic language/style container -->
+<!-- Implicit ARIA role: none -->
+<!ENTITY % div.roles
+ "(article | banner | complementary | contentinfo | figure
+ | main | navigation | region)">
<!ATTLIST div
%attrs;
+ role %div.roles; #IMPLIED
>
<!--=================== Paragraphs =======================================-->
@@ -506,15 +533,19 @@
<!-- Unordered list -->
<!ELEMENT ul (li)+>
+<!-- Implicit ARIA role: list -->
<!ATTLIST ul
%attrs;
+ role (directory|menu|menubar) #IMPLIED
>
<!-- Ordered (numbered) list -->
<!ELEMENT ol (li)+>
+<!-- Implicit ARIA role: list -->
<!ATTLIST ol
%attrs;
+ role (directory|menu|menubar) #IMPLIED
>
<!-- list item -->
@@ -527,13 +558,17 @@
<!-- definition lists - dt for term, dd for its definition -->
<!ELEMENT dl (dt|dd)+>
+<!-- Implicit ARIA role: none -->
<!ATTLIST dl
%attrs;
+ role (group|list) #IMPLIED
>
<!ELEMENT dt %Inline;>
+<!-- Implicit ARIA role: term -->
<!ATTLIST dt
%attrs;
+ role (listitem) #IMPLIED
>
<!ELEMENT dd %Flow;>
@@ -603,16 +638,10 @@
<!ELEMENT a %a.content;>
<!ATTLIST a
%attrs;
- %focus;
- charset %Charset; #IMPLIED
type %ContentType; #IMPLIED
- name NMTOKEN #IMPLIED
href %URI; #IMPLIED
hreflang %LanguageCode; #IMPLIED
rel %LinkTypes; #IMPLIED
- rev %LinkTypes; #IMPLIED
- shape %Shape; "rect"
- coords %Coords; #IMPLIED
>
<!--===================== Inline Elements ================================-->
@@ -695,19 +724,12 @@
<!ELEMENT object (#PCDATA | param | %block; | form | %inline; | %misc;)*>
<!ATTLIST object
%attrs;
- declare (declare) #IMPLIED
- classid %URI; #IMPLIED
- codebase %URI; #IMPLIED
data %URI; #IMPLIED
type %ContentType; #IMPLIED
- codetype %ContentType; #IMPLIED
- archive %UriList; #IMPLIED
- standby %Text; #IMPLIED
height %Length; #IMPLIED
width %Length; #IMPLIED
usemap %URI; #IMPLIED
name NMTOKEN #IMPLIED
- tabindex %Number; #IMPLIED
>
<!--
@@ -728,7 +750,6 @@
<!ENTITY % media.children "(source*, track*, (%block; | %inline;)*)">
<!ENTITY % media.attributes
"%attrs;
- %focus;
src %URI; #IMPLIED
preload (none|metadata|auto) #IMPLIED
autoplay (autoplay) #IMPLIED
@@ -752,7 +773,6 @@
<!ELEMENT source EMPTY>
<!ATTLIST source
%attrs;
- %focus;
src %URI; #REQUIRED
type %Text; #IMPLIED
>
@@ -760,7 +780,6 @@
<!ELEMENT track EMPTY>
<!ATTLIST track
%attrs;
- %focus;
src %URI; #REQUIRED
kind (subtitles|captions|descriptions|chapters|metadata) "subtitles"
srclang %LanguageCode; #IMPLIED
@@ -773,7 +792,7 @@
<!--
To avoid accessibility problems for people who aren't
able to see the image, you should provide a text
- description using the alt and longdesc attributes.
+ description using the alt attribute.
In addition, avoid the use of server-side image maps.
Note that in this DTD there is no name attribute. That
is only available in the transitional and frameset DTD.
@@ -784,7 +803,6 @@
%attrs;
src %URI; #REQUIRED
alt %Text; #REQUIRED
- longdesc %URI; #IMPLIED
height %Length; #IMPLIED
width %Length; #IMPLIED
usemap %URI; #IMPLIED
@@ -813,7 +831,6 @@
<!ELEMENT area EMPTY>
<!ATTLIST area
%attrs;
- %focus;
shape %Shape; "rect"
coords %Coords; #IMPLIED
href %URI; #IMPLIED
@@ -823,7 +840,7 @@
<!--================ Forms ===============================================-->
<!ELEMENT form %form.content;> <!-- forms shouldn't be nested -->
-
+<!-- Implicit ARIA role: form -->
<!ATTLIST form
%attrs;
action %URI; #REQUIRED
@@ -831,8 +848,8 @@
enctype %ContentType; "application/x-www-form-urlencoded"
onsubmit %Script; #IMPLIED
onreset %Script; #IMPLIED
- accept %ContentTypes; #IMPLIED
accept-charset %Charsets; #IMPLIED
+ role (search) #IMPLIED
>
<!--
@@ -843,9 +860,6 @@
<!ATTLIST label
%attrs;
for IDREF #IMPLIED
- accesskey %Character; #IMPLIED
- onfocus %Script; #IMPLIED
- onblur %Script; #IMPLIED
>
<!ENTITY % InputType
@@ -859,7 +873,6 @@
<!ELEMENT input EMPTY> <!-- form control -->
<!ATTLIST input
%attrs;
- %focus;
type %InputType; "text"
name CDATA #IMPLIED
value CDATA #IMPLIED
@@ -883,9 +896,6 @@
size %Number; #IMPLIED
multiple (multiple) #IMPLIED
disabled (disabled) #IMPLIED
- tabindex %Number; #IMPLIED
- onfocus %Script; #IMPLIED
- onblur %Script; #IMPLIED
onchange %Script; #IMPLIED
>
@@ -908,7 +918,6 @@
<!ELEMENT textarea (#PCDATA)> <!-- multi-line text field -->
<!ATTLIST textarea
%attrs;
- %focus;
name CDATA #IMPLIED
rows %Number; #REQUIRED
cols %Number; #REQUIRED
@@ -931,7 +940,6 @@
<!ELEMENT legend %Inline;> <!-- fieldset label -->
<!ATTLIST legend
%attrs;
- accesskey %Character; #IMPLIED
>
<!--
@@ -940,7 +948,6 @@
<!ELEMENT button %button.content;> <!-- push button -->
<!ATTLIST button
%attrs;
- %focus;
name CDATA #IMPLIED
value CDATA #IMPLIED
type (button|submit|reset) "submit"
@@ -970,22 +977,6 @@
<!ENTITY % TRules "(none | groups | rows | cols | all)">
-<!-- horizontal alignment attributes for cell contents
-
- char alignment char, e.g. char=':'
- charoff offset for alignment char
--->
-<!ENTITY % cellhalign
- "align (left|center|right|justify|char) #IMPLIED
- char %Character; #IMPLIED
- charoff %Length; #IMPLIED"
- >
-
-<!-- vertical alignment attributes for cell contents -->
-<!ENTITY % cellvalign
- "valign (top|middle|bottom|baseline) #IMPLIED"
- >
-
<!ELEMENT table
(caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>
<!ELEMENT caption %Inline;>
@@ -1021,8 +1012,6 @@
%attrs;
span %Number; "1"
width %MultiLength; #IMPLIED
- %cellhalign;
- %cellvalign;
>
<!--
@@ -1041,8 +1030,6 @@
%attrs;
span %Number; "1"
width %MultiLength; #IMPLIED
- %cellhalign;
- %cellvalign;
>
<!--
@@ -1059,26 +1046,18 @@
-->
<!ATTLIST thead
%attrs;
- %cellhalign;
- %cellvalign;
>
<!ATTLIST tfoot
%attrs;
- %cellhalign;
- %cellvalign;
>
<!ATTLIST tbody
%attrs;
- %cellhalign;
- %cellvalign;
>
<!ATTLIST tr
%attrs;
- %cellhalign;
- %cellvalign;
>
@@ -1095,8 +1074,6 @@
scope %Scope; #IMPLIED
rowspan %Number; "1"
colspan %Number; "1"
- %cellhalign;
- %cellvalign;
>
<!ATTLIST td
@@ -1107,7 +1084,5 @@
scope %Scope; #IMPLIED
rowspan %Number; "1"
colspan %Number; "1"
- %cellhalign;
- %cellvalign;
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- trans-coord/gnun/server/gnun AUTHORS ChangeLog ...,
Ineiev <=