This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { getLinkToCriterion, getLinkToTechnique } from 'wcag-reference'; | |
/** | |
* Parses the wcag information from the pa11y HTML_CS runner code string. | |
* | |
* @url https://github.com/pa11y/pa11y/wiki/HTML-CodeSniffer-Rules | |
* @url https://squizlabs.github.io/HTML_CodeSniffer/Standards/WCAG2/ | |
* | |
* @param issue | |
* @return The pa11y-Issue with updated tags. |