CogniPrep audit finds four busiest public pages have no button elements, only styled links
A CogniPrep engineer audited the Button component in the platform's design system, which has 696 call sites. Counting the rendered DOM instead of source files showed that four of the five busiest public pages contain no button element at all. Their calls to action are anchor links styled as buttons, which the author argues is the correct semantic choice since they change the URL. The author also found that 368 native button elements lack an explicit type attribute, so they default to submit inside a form, a latent hazard that is not currently triggering any defect.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in