This pull request includes updates to the npm-adduser documentation and improvements to the accessibility of code blocks in src/mdx/code.js. The most important changes include updating the heading levels in the documentation and adding role="presentation" to improve accessibility.
Documentation updates:
content/cli/v10/commands/npm-adduser.mdx: Changed heading levels from ### to ## for sections like Synopsis, Description, Configuration, and See Also. This helps maintain consistency and clarity in the documentation structure. [1][2][3]
Accessibility improvements:
src/mdx/code.js: Added role="presentation" to the CodeBlock and MonoText components to improve accessibility for screen readers. [1][2]
This pull request includes updates to the
npm-adduser
documentation and improvements to the accessibility of code blocks insrc/mdx/code.js
. The most important changes include updating the heading levels in the documentation and addingrole="presentation"
to improve accessibility.Documentation updates:
content/cli/v10/commands/npm-adduser.mdx
: Changed heading levels from###
to##
for sections like Synopsis, Description, Configuration, and See Also. This helps maintain consistency and clarity in the documentation structure. [1] [2] [3]Accessibility improvements:
src/mdx/code.js
: Addedrole="presentation"
to theCodeBlock
andMonoText
components to improve accessibility for screen readers. [1] [2]