cferdinandi/kraken

Fix unstyled/inline list accessibility

cferdinandi opened this issue · 1 comments

Via Scott O'Hara:

/**
 * @bugfix Prevent webkit from removing list semantics
 * 1. Add a non-breaking space
 * 2. Make sure it doesn't mess up the DOM flow
 */
.list-unstyled,
.list-inline {
	li:before {
		content: "\200B"; /* 1 */
		position: absolute; /* 2 */
	}
}

coming in v9.x