a11yTO Conf: CSS Display Properties versus HTML Semantics | Adrian Roselli

a11yTO Conf: CSS Display Properties versus HTML Semantics

October 21, 2020; 0 Comments

If you attended my pre-recorded remote CSUN 2020 talk, then this talk will be familiar. I updated with the latest browsers, since February was six Chrome and nine Firefox versions ago.

This talk was also only fifteen minutes, so I cut the videos and some other materials. Go check the original slides if you need that context.

Or visit them directly at SlideShare: a11yTO CONF 2020: CSS Display Properties v. HTML Semantics

Tables

There were a few slides of tables showing browser and screen reader support. The structure is lost in the SlideShare embed, so I have re-created them here.

This time I am linking the test cases so you can try them yourself:

  • <table>, etc.
  • <ul>, <ol>, <dl>
  • <h#>
  • <button>

Chrome 86 / Windows 10

CSS
<table>, etc.
<ul>, <ol>, <dl>
<h#>
<button>

display: flex



display: grid



display: block



display: inline-block



display: contents



Slide 13

Firefox 82 / Windows 10

CSS
<table>, etc.
<ul>, <ol>, <dl>
<h#>
<button>

display: flex
❌1


display: grid
❌1


display: block



[...]

Read article at adrianroselli.com

Article Taxonomies

Categories:
Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/webable/www/www/wp-content/themes/webable/content-mcm.php:65 Stack trace: #0 /home/webable/www/www/wp-includes/template.php(812): require() #1 /home/webable/www/www/wp-includes/template.php(745): load_template('/home/webable/w...', false, Array) #2 /home/webable/www/www/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #3 /home/webable/www/www/wp-content/themes/webable/single-mcm_article.php(15): get_template_part('content-mcm') #4 /home/webable/www/www/wp-includes/template-loader.php(106): include('/home/webable/w...') #5 /home/webable/www/www/wp-blog-header.php(19): require_once('/home/webable/w...') #6 /home/webable/www/www/index.php(17): require('/home/webable/w...') #7 {main} thrown in /home/webable/www/www/wp-content/themes/webable/content-mcm.php on line 65