AMarinic92 / 4560-IA-Accessibility-Checker

GNU Affero General Public License v3.0
0 stars 0 forks source link

As a user who utilizes a screen reader "click here" is a bad link, links need context, so I can easily assess their relevance. #30

Open AMarinic92 opened 4 months ago

AMarinic92 commented 4 months ago

JIRA user story from the IA report: _Please consider small edits:

""+Borrow a book+"", ""+chip in what you can+"", and ""+Click here+"" are links which don't have a 'location' as/in the text of the link.

Suggest: Borrow a book on +Open Library+, a project of the Internet Archive and If you find our site useful, please visit our +Donate+ page and chip in what you can. and Upload items to +archive.org+ (video, audio, text, images). It's free, it's easy! Learn how on our +Uploading FAQ+.

""Click here"" as link text is frowned on as users of assistive technologies may skip from link to link and are listening for the link text, i.e., often not hearing the entire sentence.

Please check out: Why Your Links Should Never Say ""Click Here"" https://www.smashingmagazine.com/2012/06/links-should-never-say-click-here/ Don't use ""click here"" as link text https://www.w3.org/QA/Tips/noClickHere_

We can probably bake this in fairly easily as another demo without much complexity. It can find "click here" links but we can show that perhaps a Natural Language Model could be (as in we wont be doing it) utilized like our proof of concept one

AMarinic92 commented 3 months ago

This task has been added to the htmlParser.py and it can now find word lists of bad link text. It needs to be integrated into the response of MLaccess.