Info collected about a11y
topics.
- The A11Y Project
- WebAIM: Web Accessibility In Mind
- Web Accessibility by Google (Udacity)
- Start Building Accessible Web Applications Today - by Marcy Sutton
Info collected about a11y
topics.
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
// http://stackoverflow.com/questions/5623838/rgb-to-hex-and-hex-to-rgb | |
function hexToRgb(hex) { | |
// Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF") | |
var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; | |
hex = hex.replace(shorthandRegex, function(m, r, g, b) { | |
return r + r + g + g + b + b; | |
}); | |
var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); |
var colors = [ | |
{ | |
"name": "AliceBlue", | |
"hex": "#f0f8ff", | |
"rgb": "rgb(240, 248, 255)", | |
"tone": "white" | |
}, | |
{ | |
"name": "AntiqueWhite", | |
"hex": "#faebd7", |