Re:Google HTML/CSS Style Guide – Omit Optional Tags
by TazeTSchnitzel on Saturday September 17, 2016 @02:41PM
(#12521778)
> I'd have to test this, but I'm pretty certain screen readers will not know how to properly navigate your content if you aren't providing structured data markup.
Do screen readers operate directly on HTML now?
Because presumably they look at the DOM. And the resulting DOM is identical, whether or not you close your <p> and <li> tags explicitly, or include your own <head>, <html> and <body> tags, or whatever.
Try it.
Re:Google HTML/CSS Style Guide – Omit Optional Tags
by mbrock on Saturday September 17, 2016 @02:45PM
(#12521792)
Yes, the parent of your comment is a typical misunderstanding of screen readers.
Re:Google HTML/CSS Style Guide – Omit Optional Tags
by busterarm on Saturday September 17, 2016 @07:22PM
(#12523055)
Are you sure? Because I do a lot of testing against VoiceOver and it has two modes, a DOM traversal mode and "grouped" mode which parses HTML. The latter will often do really weird things, like look at the ids of your tags.
And this mode on VoiceOver up until 10 years ago was the default.
In the Windows world, yes, you're totally right.
To see Google recommend this while they're simultaneously pushing Structured Data seems odd to me. Maybe they want everyone to do it with JSON-LD instead; who knows.
Sorry, but I'm going to keep using semantic tags that make the structure of my content obvious. P tags should not be hanging out in the middle of nowhere.