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
| /* eslint-disable no-undef */ | |
| /* eslint-disable curly */ | |
| /* eslint-disable padded-blocks */ | |
| const elementAttributes = {}; | |
| // Exception | |
| // tabindex seem to be allowed on any element according to https://www.w3schools.com/tags/att_global_tabindex.asp | |
| // but here https://www.w3.org/TR/html4/index/attributes.html seem not | |
| // So below we add this exception | |
| const allowedAttributes = ['tabindex']; |
OlderNewer