News for hackers. Stuff that matters.
Re:Aria-label is a code smell by reitanqild on Wednesday November 02, 2022 @12:07PM (#33438101)
I always thought it was standardized that way in an effort to get people to care about accessibility.

But FWIK it might just be because someone on the standards committee wanted it that way.

Re:Aria-label is a code smell by Wowfunhappy on Wednesday November 02, 2022 @03:21PM (#33441516)
Does that work though? If you don't care about accessibility, you can still leave out the tags. Screen readers will then default to reading the file name, which I'd argue is worse than skipping over images in the general case.
Re:Aria-label is a code smell by reitanqild on Thursday November 03, 2022 @01:07AM (#33447251)
It probably worked better when everyone validated their pages and (I think) html quality used to be a ranking factor in Google.