Skip to content

Commit a8b8221

Browse files
authored
Merge branch 'gh-pages' into car/issue190
2 parents 63964af + a25a94f commit a8b8221

File tree

2 files changed

+32
-105
lines changed

2 files changed

+32
-105
lines changed

html-aria/index.html

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@

118118

119119
<table class="simple">
120120
<caption>
121-
Rules of ARIA attributes usage by HTML language feature
121+
Rules of ARIA attribute usage by HTML feature
122122
caption>
123123
<tr>
124124
<th>
125-
HTML language feature
125+
HTML feature
126126
th>
127127
<th>
128128
<p id="implicit">
@@ -139,7 +139,7 @@

139139
<tbody>
140140
<tr id="el-a" tabindex="-1">
141141
<td>
142-
[^a^] element with a <a data-cite="html/links.html#attr-hyperlink-href">`href`a>
142+
[^a^] with <a data-cite="html/links.html#attr-hyperlink-href">`href`a>
143143
td>
144144
<td>
145145
<code>role=<a href="#index-aria-link">linka>code>
@@ -174,7 +174,7 @@

174174
tr>
175175
<tr id="el-a-no-href" tabindex="-1">
176176
<td>
177-
[^a^] element without a <a data-cite="html/links.html#attr-hyperlink-href">`href`a>
177+
[^a^] without <a data-cite="html/links.html#attr-hyperlink-href">`href`a>
178178
td>
179179
<td>
180180
<a href="#dfn-no-corresponding-role" class="internalDFN" data-link-type="dfn">No corresponding rolea>
@@ -228,7 +228,7 @@

228228
tr>
229229
<tr id="el-area" tabindex="-1">
230230
<td>
231-
[^area^] with a <a data-cite="html/links.html#attr-hyperlink-href">`href`a>
231+
[^area^] with <a data-cite="html/links.html#attr-hyperlink-href">`href`a>
232232
td>
233233
<td>
234234
<code>role=<a href="#index-aria-link">linka>code>
@@ -246,7 +246,7 @@

246246
tr>
247247
<tr id="el-area-no-href" tabindex="-1">
248248
<td>
249-
[^area^] without a <a data-cite="html/links.html#attr-hyperlink-href">`href`a>
249+
[^area^] without <a data-cite="html/links.html#attr-hyperlink-href">`href`a>
250250
td>
251251
<td><a>No corresponding rolea>td>
252252
<td>
@@ -1890,6 +1890,7 @@

18901890
<a data-cite="dpub-aria-1.0#doc-credits">`doc-credits`a>,
18911891
<a data-cite="dpub-aria-1.0#doc-dedication">`doc-dedication`a>,
18921892
<a data-cite="dpub-aria-1.0#doc-endnotes">`doc-endnotes`a>,
1893+
<a data-cite="dpub-aria-1.0#doc-epigraph">`doc-epigraph`a>,
18931894
<a data-cite="dpub-aria-1.0#doc-epilogue">`doc-epilogue`a>,
18941895
<a data-cite="dpub-aria-1.0#doc-errata">`doc-errata`a>,
18951896
<a data-cite="dpub-aria-1.0#doc-example">`doc-example`a>,
@@ -2021,9 +2022,10 @@

20212022
td>
20222023
<td>
20232024
<p>
2024-
Role: <a href="#index-aria-application">`application`a>,
2025-
<a href="#index-aria-document">`document`a>, or <a href=
2026-
"#index-aria-img">`img`a>
2025+
Roles:
2026+
<a href="#index-aria-application">`application`a>,
2027+
<a href="#index-aria-document">`document`a>
2028+
or <a href="#index-aria-img">`img`a>
20272029
p>
20282030
<p>
20292031
<a href="#index-aria-global">Global `aria-*` attributesa> and
@@ -2059,10 +2061,10 @@

20592061
td>
20602062
<td>
20612063
<p>
2062-
Role: `button` with `aria-expanded="true"` if the
2064+
Role: `button` with `aria-expanded=true` if the
20632065
parent (`details`) element's <a data-cite=
20642066
"html/interactive-elements.html#attr-details-open">`open`a>
2065-
attribute is present, `aria-expanded="false"` otherwise.
2067+
attribute is present, `aria-expanded=false` otherwise.
20662068
p>
20672069
<p>
20682070
<a href="#index-aria-global">Global `aria-*` attributesa> and
@@ -2328,18 +2330,18 @@

23282330
Authors can use `role=list` to reinstate the role, if necessary.
23292331
p>
23302332
<p>
2331-
Role:
2333+
Roles:
23322334
<a href="#index-aria-directory">`directory`a>,
23332335
<a href="#index-aria-group">`group`a>,
23342336
<a href="#index-aria-listbox">`listbox`a>,
23352337
<a href="#index-aria-menu">`menu`a>,
23362338
<a href="#index-aria-menubar">`menubar`a>,
2339+
<a href="#index-aria-none">`none`a>,
2340+
<a href="#index-aria-presentation">`presentation`a>,
23372341
<a href="#index-aria-radiogroup">`radiogroup`a>,
23382342
<a href="#index-aria-tablist">`tablist`a>,
2339-
<a href="#index-aria-toolbar">`toolbar`a>,
2340-
<a href="#index-aria-tree">`tree`a>,
2341-
<a href="#index-aria-presentation">`presentation`a>
2342-
or <a href="#index-aria-none">`none`a>.
2343+
<a href="#index-aria-toolbar">`toolbar`a>
2344+
or <a href="#index-aria-tree">`tree`a>.
23432345
p>
23442346
<p>
23452347
<a href="#index-aria-global">Global `aria-*` attributesa> and
@@ -4883,9 +4885,10 @@

48834885
SHOULD NOT be used.
48844886
p>
48854887
section>
4886-
<script src="details-summary/jquery.details.min.js">script>
4888+
4889+
48904893
body>
48914894
html>

html-aria/makeup.css

Lines changed: 11 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,14 @@
1-
.note-title {
2-
padding-left: 1.5em
3-
}
4-
5-
summary {
6-
background: url("rightArrow.png") no-repeat scroll 0.5em center #fff;
7-
padding: 0.25em 0.25em 0.25em 2em;
8-
}
9-
10-
summary:hover,
11-
summary:focus,
12-
details[open] summary:hover,
13-
details[open] summary:focus {
14-
background-color: #eee;
15-
}
16-
17-
details,
18-
summary {
19-
display: block;
1+
p.note,
2+
div.note {
3+
padding: 1em;
204
}
215

22-
p.note::before {
23-
content: "Note: ";
24-
font-weight: bolder;
6+
.example .marker {
7+
margin-bottom: 1em;
258
}
269

27-
p.note,
28-
div.note {
29-
padding: 0.5em 2em;
10+
div.note *:last-child {
11+
margin-bottom: 0;
3012
}
3113

3214
.note {
@@ -46,68 +28,10 @@ div.note {
4628
padding-left: 1em;
4729
}
4830

49-
.new-feature {
50-
background-color: crimson;
51-
}
52-
53-
.changed-feature {
54-
background-color: slateblue;
55-
}
56-
57-
.new-feature,
58-
.changed-feature {
59-
border-bottom: none !important;
60-
padding-top: 1px;
61-
padding-left: 4px;
62-
padding-right: 4px;
63-
margin-right: 6px;
64-
font-size: smaller;
65-
font-weight: bold;
66-
color: white !important;
67-
border-radius: 4px;
68-
box-shadow: 3px 3px 3px #888;
69-
border-bottom: none;
70-
margin-left: 4px;
71-
vertical-align: top;
72-
}
73-
74-
.changed-feature1 {
75-
border-bottom: none !important;
76-
padding-top: 1px;
77-
padding-left: 4px;
78-
padding-right: 4px;
79-
margin-right: 6px;
80-
font-size: smaller;
81-
font-weight: bold;
82-
color: white !important;
83-
border-radius: 4px;
84-
box-shadow: 3px 3px 3px #888;
85-
border-bottom: none;
86-
margin-left: 4px;
87-
vertical-align: top;
88-
}
89-
90-
.new-feature1 {
91-
border-bottom: none !important;
92-
padding-top: 1px;
93-
padding-left: 4px;
94-
padding-right: 4px;
95-
margin-right: 6px;
96-
font-size: smaller;
97-
font-weight: bold;
98-
color: white !important;
99-
border-radius: 4px;
100-
box-shadow: 3px 3px 3px #888;
101-
border-bottom: none;
102-
margin-left: 4px;
103-
vertical-align: top;
104-
}
105-
106-
107-
td {
108-
padding: .3em
31+
a code {
32+
color: inherit;
10933
}
11034

111-
a code {
112-
color: #034575
35+
.simple td {
36+
padding: 10px;
11337
}

0 commit comments

Comments
 (0)