Skip to content

Improve WHATWG HTML5 LS and WCAG AA adherence in the README. - #1235

Closed
0009-0009-1013-986X wants to merge 1 commit into
hmcts:masterfrom
0009-0009-1013-986X:patch-1
Closed

0009-0009-1013-986X wants to merge 1 commit into
hmcts:masterfrom
0009-0009-1013-986X:patch-1

Conversation

@0009-0009-1013-986X

@0009-0009-1013-986X 0009-0009-1013-986X commented Jan 16, 2026 •

Copy link
Copy Markdown

Change Description

In the README:

  1. Grammar has been improved; many sentences lacked even an appended period.

  2. Syntax highlighting has been enabled for all pre > codes.

  3. All code is, now, encompassed in code tags, whereas, before, that was inconsistent at best.

  4. Scripts are prepended with a shebang, to prevent them being invoked in a non-IEEE Standard 1003.1-2017 Shell Command Language-compliant shell.

  5. Every li contains a p, which GHFM ECMAScript should do (or, at least, its CSS3 should render it as if it does), but doesn't.

    This merely introduces a single /n into the CommonMark source, which shall render any multi-line lis more consistent in the future regardless.

    This is also true for paragraphs themselves; some were delimited by brs, rather than new ps, which isn't acceptable.

Testing Done

No tests are required, because the sole code changed is the shebang, which, if one enters that into a shell, is ignored, and is required otherwise.

Security Vulnerability Assessment

None are applicable.

CVE Suppression

Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?

  • Yes
  • No

Checklist

  • Commit messages are meaningful and follow good commit message guidelines.
  • README, and other documentation, has been updated / added (if needed).
  • Tests have been updated / new tests has been added (if needed).
  • Does this PR introduce a breaking change?

-	Grammar has been improved; many sentences lacked even an appended period.

-	*All* code is, now, encompassed in `code` tags, whereas, before, that was inconsistent at best.

-	Scripts are prepended with a shebang, to prevent them being invoked in a non-IEEE Standard 1003.1-2017 Shell Command Language-compliant shell.

-	Every `li` contains a `p`, which GHFM ECMAScript should do (or, at least, its CSS3 should render it as if it does), but doesn't.

	This merely introduces a single `/n` into the CommonMark source, which shall render any multi-line `li`s more consistent in the future regardless.

	This is also true for paragraphs themselves; some were delimited by `br`s, rather than new `p`s, which isn't acceptable.
@0009-0009-1013-986X

Copy link
Copy Markdown
Author

@MoLala1, are you willing to elaborate? This required more effort than microsoft/MIDI/pull/832 did, which was accepted by Microsoft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants