+
Skip to content

Conversation

Georgina-gh
Copy link
Contributor

@Georgina-gh Georgina-gh commented Jun 27, 2025

https://lumapps.atlassian.net/browse/DOC-3586

An alt attribute is always required on image elements, the alt attribute can have an empty value:
https://www.w3.org/WAI/tutorials/images/decision-tree/

These changes

  • add a schematron warning for image element missing alt child element or alt attribute
  • reorg image related rules for clarity and consiceness

Can the person that checks this PR first close Oxygen, then go to Fork, open the doctools repo, switch to my branch (DOC-3586...), open oxygen, and test if a warning appear if there is an image element with no alt?

@Georgina-gh Georgina-gh requested review from a team and lumautomation as code owners June 27, 2025 15:47
@Georgina-gh Georgina-gh added the enhancement New feature or request label Jun 27, 2025
@Georgina-gh Georgina-gh force-pushed the DOC-3586-warn-alt-element-missing branch from 9cf247f to 3c4bb81 Compare June 30, 2025 07:36
@Georgina-gh Georgina-gh merged commit 033ab85 into master Jun 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载