AtlasOfLivingAustralia / ala-wordpress-theme

WordPress theme for Atlas main site.
3 stars 3 forks source link

Breadcrumb to use WAI-ARIA implementation #21

Closed nickdos closed 7 years ago

nickdos commented 7 years ago

Current breadcrumb uses an inline HTML element (glyphicon in <span> tag) but should be done in CSS, as per recommendation of W3.org:

https://www.w3.org/TR/wai-aria-practices/examples/breadcrumb/index.html

aatteia commented 7 years ago

Okay, so I've updated the breadcrumbs to be semantically sexy.

Here is the HTML:

Here is the CSS: section#breadcrumb li + li::before { content: "\f105"; font-family: FontAwesome; margin: 0 .6em; height: .8em; opacity: .6; }

aatteia commented 7 years ago

Here is the RawGit page: https://rawgit.com/AtlasOfLivingAustralia/front-end-static/master/ALA%20Website%20Recreation%20in%20BS3%202017/site-mockup/channel-learn-about-the-ala.html

matthewandrews commented 7 years ago

OK, I've changed WordPress production to use the FontAwesome version.