mvdschee / web-accessibility

A Visual Studio Extension for Web accessibility
https://marketplace.visualstudio.com/items?itemName=MaxvanderSchee.web-accessibility
MIT License
70 stars 12 forks source link

Make sure all frames and iframes have a title attribute #15

Closed ecerta closed 5 years ago

ecerta commented 5 years ago

Is your feature request related to a problem? Please describe. Any time you have any kind of frame, it should have a title attribute with words inside. (Note, not a element, a title attribute, as in <iframe title="Why You Should Make Issues on Github Video">).</p> <p><strong>Describe the solution you'd like</strong> Add a check for the linter that any and all frames or iframes have a title attribute.</p> <p><strong>Describe alternatives you've considered</strong> I just think it's within the power of a linter like this to check for it and it's an a11y requirement, so let's go for it.</p> <p><strong>Additional context</strong> <a rel="noreferrer nofollow" target="_blank" href="https://webaim.org/techniques/frames/">https://webaim.org/techniques/frames/</a></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mvdschee"><img src="https://avatars.githubusercontent.com/u/26795741?v=4" />mvdschee</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Thank you for the issue! It will be added in the next update :)</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mvdschee"><img src="https://avatars.githubusercontent.com/u/26795741?v=4" />mvdschee</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>The linting for missing title attributes for <code>frames</code> and <code>iframes</code> has been implemented in version 0.2.4. </p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>