[lang="es"], lang="es"

Test passes if you see green below.

Text

Assertion: A lang= value that matches an identical lang attribute value will produce styling.

Next test
HTML5

selectors-034
Result summary & related tests