Re:80 front-end job applications – nearly no one had basic H...
by daiwei on Friday January 22, 2016 @11:11AM
(#10953521)
I've used `nav` or `section` for a long time, never found of the difference from `div`. Screen readers? Maybe for `nav`, what about `section` and other 1000 tags with subtle different semantics?
[ Parent
| on HN ]
Re:80 front-end job applications – nearly no one had basic H...
by bluejekyll on Friday January 22, 2016 @11:20AM
(#10953593)
this is all about default CSS values associated with the tag, you can override them as you like which is probably what your relying on.
Re:80 front-end job applications – nearly no one had basic H...
by estefan on Friday January 22, 2016 @11:47AM
(#10953804)
But obviously when you use your reset.css that all goes out the window anyway... I thought it was some semantic thing for screen readers.
Re:80 front-end job applications – nearly no one had basic H...
by FilterSweep on Friday January 22, 2016 @12:20PM
(#10954072)
Correct me if I'm wrong but I believe there are aria attributes (e.g.: role="navigation") that can also be used as well for this same purpose. Nav is probably safer, but agreed on the CSS reset.