|
1 | 1 | ## Available Roles |
2 | 2 |
|
3 | | -<table class="text-left table-fixed"> |
4 | | - <caption class="text-2xl">Landmarks</caption> |
| 3 | +<table> |
| 4 | + <caption class="text-left text-2xl font-bold pt-4 pb-8">Landmarks</caption> |
5 | 5 | <thead> |
6 | 6 | <tr> |
7 | 7 | <th style="width: 12em">Role name</th> |
8 | 8 | <th>HTML element</th> |
9 | 9 | </tr> |
10 | 10 | </thead> |
11 | | - <tbody class="text-white bg-purple-900 border border-purple-700"> |
| 11 | + <tbody class=""> |
12 | 12 | <%= table_rows([ |
13 | 13 | ["**main**", "`<main>`"], |
14 | 14 | ["**navigation**", "`<nav>`"], |
|
23 | 23 | </table> |
24 | 24 |
|
25 | 25 | <table class="text-left table-fixed"> |
26 | | - <caption class="text-2xl">Content</caption> |
| 26 | + <caption class="text-left text-2xl font-bold pt-4 pb-8">Content</caption> |
27 | 27 | <thead> |
28 | 28 | <tr> |
29 | 29 | <th style="width: 12em">Role name</th> |
30 | 30 | <th>HTML element</th> |
31 | 31 | </tr> |
32 | 32 | </thead> |
33 | | - <tbody class="text-white bg-purple-900 border border-purple-700"> |
| 33 | + <tbody class=""> |
34 | 34 | <%= table_rows([ |
35 | 35 | ["**link**", "`<a href=…>`"], |
36 | 36 | ["_none_", "`<a>`"], |
|
53 | 53 | </table> |
54 | 54 |
|
55 | 55 | <table class="text-left table-fixed"> |
56 | | - <caption class="text-2xl">Forms</caption> |
| 56 | + <caption class="text-left text-2xl font-bold pt-4 pb-8">Forms</caption> |
57 | 57 | <thead> |
58 | 58 | <tr> |
59 | 59 | <th style="width: 12em">Role name</th> |
60 | 60 | <th>HTML element</th> |
61 | 61 | </tr> |
62 | 62 | </thead> |
63 | | - <tbody class="text-white bg-purple-900 border border-purple-700"> |
| 63 | + <tbody class=""> |
64 | 64 | <%= table_rows([ |
65 | 65 | ["**form**", "`<form>`"], |
66 | 66 | ["**group**", "`<fieldset>`"], |
|
89 | 89 | </table> |
90 | 90 |
|
91 | 91 | <table class="text-left table-fixed"> |
92 | | - <caption class="text-2xl">Tables</caption> |
| 92 | + <caption class="text-left text-2xl font-bold pt-4 pb-8">Tables</caption> |
93 | 93 | <thead> |
94 | 94 | <tr> |
95 | 95 | <th style="width: 12em">Role name</th> |
96 | 96 | <th>HTML element</th> |
97 | 97 | </tr> |
98 | 98 | </thead> |
99 | | - <tbody class="text-white bg-purple-900 border border-purple-700"> |
| 99 | + <tbody class=""> |
100 | 100 | <%= table_rows([ |
101 | 101 | ["**table**", "`<table>`"], |
102 | 102 | ["**rowgroup**", "`<tbody>`, `<thead>`, `<tfoot>`"], |
|
109 | 109 | </table> |
110 | 110 |
|
111 | 111 | <table class="text-left table-fixed"> |
112 | | - <caption class="text-2xl">Tabs</caption> |
| 112 | + <caption class="text-left text-2xl font-bold pt-4 pb-8">Tabs</caption> |
113 | 113 | <thead> |
114 | 114 | <tr> |
115 | 115 | <th style="width: 12em">Role name</th> |
116 | 116 | <th>HTML element</th> |
117 | 117 | </tr> |
118 | 118 | </thead> |
119 | | - <tbody class="text-white bg-purple-900 border border-purple-700"> |
| 119 | + <tbody class=""> |
120 | 120 | <%= table_rows([ |
121 | 121 | ["**tablist**", "`<ul role=tablist>`"], |
122 | 122 | ["**tab**", "`<button role=tab>`"], |
123 | 123 | ["**tabpanel**", "`<section role=tabpanel>`"], |
124 | 124 | ]) %> |
125 | 125 | </tbody> |
126 | | - <tfoot class="text-purple-100 bg-purple-900 border border-purple-700"> |
| 126 | + <tfoot class="text-purple-300"> |
127 | 127 | <tr> |
128 | | - <td colspan=2 class="px-3 py-1"><em>Should</em> manage focus with JavaScript.</td> |
| 128 | + <td colspan=2>You <em>should</em> manage focus with JavaScript.</td> |
129 | 129 | </tr> |
130 | 130 | </tfoot> |
131 | 131 | </table> |
132 | 132 |
|
133 | 133 | <table class="text-left table-fixed"> |
134 | | - <caption class="text-2xl">Menus</caption> |
| 134 | + <caption class="text-left text-2xl font-bold pt-4 pb-8">Menus</caption> |
135 | 135 | <thead> |
136 | 136 | <tr> |
137 | 137 | <th style="width: 12em">Role name</th> |
138 | 138 | <th>HTML element</th> |
139 | 139 | </tr> |
140 | 140 | </thead> |
141 | | - <tbody class="text-white bg-purple-900 border border-purple-700"> |
| 141 | + <tbody class=""> |
142 | 142 | <%= table_rows([ |
143 | 143 | ["**menu**", "`<ul role=menu>`"], |
144 | 144 | ["**menuitem**", "`<button role=menuitem>`"], |
|
147 | 147 | ["**menubar**", "`<nav role=menubar>`"], |
148 | 148 | ]) %> |
149 | 149 | </tbody> |
150 | | - <tfoot class="text-purple-100 bg-purple-900 border border-purple-700"> |
| 150 | + <tfoot class="text-purple-300"> |
151 | 151 | <tr> |
152 | | - <td colspan=2 class="px-3 py-1"><em>Should</em> manage focus with JavaScript.</td> |
| 152 | + <td colspan=2>You <em>should</em> manage focus with JavaScript.</td> |
153 | 153 | </tr> |
154 | 154 | </tfoot> |
155 | 155 | </table> |
0 commit comments