Re:Show HN: Mimicking the Bloomberg menu widget without Java...
by pc86 on Tuesday June 26, 2018 @02:31PM
(#17402961)
What exactly does "semantically meaningful and accessible html" mean?
[ Parent
| on HN ]
Re:Show HN: Mimicking the Bloomberg menu widget without Java...
by tgarv on Tuesday June 26, 2018 @04:03PM
(#17403584)
Hopefully "semantically meaningful" is pretty self-explanatory, it just means using HTML elements in an organized and structured way (like not using a span when you should use a paragraph). "Accessible" means usable by screen readers and potentially other accessibility tools for people with low vision or other disabilities.
Re:Show HN: Mimicking the Bloomberg menu widget without Java...
by tbolt on Tuesday June 26, 2018 @04:04PM
(#17403590)
As an example: Consider using a <div class=“paragraph”> vs using <p>. The <p> tag is semantic and meaningful, whereas the <div> means nothing. A screen reader (or other markup interpreters) can’t tell what a <div> means
Re:Show HN: Mimicking the Bloomberg menu widget without Java...
by chiefalchemist on Tuesday June 26, 2018 @04:26PM
(#17403723)
Good point. Perhaps, I would think, Bloomberg's menu does this and he can just "borrow" their semantic + A11Y-centric markup?