File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -349,16 +349,38 @@ <h3>DEMO</h3>
349
349
< section >
350
350
< section >
351
351
< h2 > Semantics Revisited</ h2 >
352
+ < p > Re-cap. We already know this stuff...</ p >
352
353
</ section >
353
354
< section >
354
355
< h3 > HTML Elements</ h3 >
356
+ < ul >
357
+ < li > <div> means < em > nothing</ em > > </ li >
358
+ < li > <span> means < em > nothing</ em > > </ li >
359
+ < li > <button> - press it, makes something < em > happen</ em > .</ li >
360
+ < li > <a href> - hyperlinks direct you < em > elsewhere</ em > .</ li >
361
+ < li > Button vs Link. We'll run into that a lot.</ li >
362
+ </ ul >
355
363
</ section >
356
364
< section >
357
365
< h3 > Human-readable semantics</ h3 >
366
+ < p > Attributes which often contain rich semantics, but are really only useful to a human audience: developers!</ p >
367
+ < ul >
368
+ < li > class attribute</ li >
369
+ < li > data-* attributes</ li >
370
+ < li > ng-* attributes</ li >
371
+ < li > Others?</ li >
372
+ </ ul >
373
+ < p > None are understood by screen-readers.</ p >
358
374
</ section >
359
375
< section >
360
376
< h3 > Semantics for screen-readers</ h3 >
361
- < p > Machine-readable semantics</ p >
377
+ < p > We want machine-readable semantics</ p >
378
+ < ul >
379
+ < li > HTML Elements: headings, tables, forms, ...</ li >
380
+ < li > HTML attributes: disabled, required, checked, ...</ li >
381
+ < li > aria-* attributes</ li >
382
+ < li > SVG, MathML.</ li >
383
+ </ ul >
362
384
</ section >
363
385
</ section >
364
386
You can’t perform that action at this time.
0 commit comments