Compile-Time Checks
When we installed our SvelteKit project, it came with a few opinionated enhancements out of the box. Of those enhancements, the compile-time checks can be of particular use to warn us of elements that have been poorly formed or are missing attributes. Upon making the suggested changes, we’ll notice that these warnings go away.
If you’ve paid attention to the recommendations from eslint
or the output from builds, you may have noticed some warnings referring to A11y
. This is the abbreviated term used for Accessibility. It refers to the A, the following 11 characters, and the y. In recognizing the importance of making applications accessible, the Svelte developers have opted to include sane behaviors by default as it contributes to a more open web. Before becoming frustrated with regular warnings, consider the convenience of having the application checked for a11y errors while not having to seek out our own solutions. Not only does building with a11y...