I am confused by the disparity between stated good practice and common practice by large websites.
Alt tags are a good example. LinkedIn seems to insert an some pretty useless alt tags is people do not bother (alt="No alternative text for this image" - at best overly wordy and timewasting) or "AI" generated text that is often not useful - in most cases its redundant so I though a blank alt tag would be better. BBC website news articles always have alt text, even if the heading makes it redundant. Argos (a large British online retailer owned by supermarket chain Sainsburys) repeats the same text for every image in a gallery on a product page.
I have been told by a web designer I argued about this with that I do not understand how screen readers work, and "alt tags are for SEO" still seems to be common practice.
I am not a designer or front end developer, but I do end up advising clients on who do use and on requirements. I also want to at least get my own sites right. Where do I get the right guidance? How do I test?
https://www.w3.org/WAI/standards-guidelines/wcag/glance/
https://www.w3.org/WAI/WCAG22/quickref/
I usually find these docs verbose and intimating though. There's a lot of more friendly summaries and articles to pick from like:
https://webaim.org/standards/wcag/checklist
For alt tags, alt="" is appropriate if the image is only decorative or not adding anything that would be useful to someone on a screen reader. A useful tip for deciding on what to do is to get familiar with a screen reader interface available for your browser - see how easily you can browse, use, and understand your own web pages without being able to look at them.
> I am confused by the disparity between stated good practice and common practice by large websites.
Refer to WCAG for what to do and generally ignore what even large popular websites do.
Most websites don't prioritise accessibility, even the basic stuff. I think this is generally because: there needs to be knowledgable advocates of accessibility on the team, it's not always obvious how to follow the rules even when you're aware of them (there's subjective and contextual parts you can't automate, like with alt tags above), it requires extra design/dev/testing resources to do properly, people see other popular websites not following the rules so don't bother themselves, and branding often takes priority.