Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: new accessibility page #1418

Closed
wants to merge 41 commits into from

Conversation

thulieblack
Copy link
Member

This PR adds the new accessibility page under the style guide folder.

Resolve #1244

@netlify
Copy link

netlify bot commented Mar 10, 2023

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit fd47734
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/64c25640772f8000088cd27d
😎 Deploy Preview https://deploy-preview-1418--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions
Copy link

github-actions bot commented Mar 10, 2023

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 44
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🔴 PWA 30

Lighthouse ran on https://deploy-preview-1418--asyncapi-website.netlify.app/

Co-authored-by: Alejandra Quetzalli  <[email protected]>

### Links
- Use descriptive and meaningful link text. For example, do not use phrases like *click here* or *follow this link* instead use *see*.
- Always use an external link icon if a link opens up in a new tab.
Copy link
Member

@quetzalliwrites quetzalliwrites Jun 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Always use an external link icon if a link opens up in a new tab.
- Always use an external link icon if a link opens up in a new tab.

Why should we use an external link icon if a link opens up in a new tab? Source and reasoning? Want to make sure this is advice we actually believe 🤔

### Multimedia
- Alt text must be clear and descriptive. Not more than 50 characters.
- Always use text rather than images, unless necessary.
- Use SVG instead of PNG or JPEG. It retains quality.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Use SVG instead of PNG or JPEG. It retains quality.

In theory agreed... but is this actually something we practice in our docs? So far, I have not seen us use SVGs on our website (or docs). I would remove this line if it is incorrect.

### User Interface (UI)
- Use the correct terminologies for UI elements.
- Format tables correctly and keep the text within the grid.
- Use basic HTML for button elements.
Copy link
Member

@quetzalliwrites quetzalliwrites Jun 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Use basic HTML for button elements.
- Use HTML syntax for button elements.
  1. What is basic HTML? 😄 Why is a button HTML element basic? This word choice is wrong because it conveys an assumption and judgement on poor HTML 😂✌🏽
  2. Please add a code snippet to illustrate the button HTML element.

@@ -0,0 +1,42 @@
---
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your "Accessibility" Style Guide document provides a solid basis for creating inclusive and accessible content! Nice work, per usual, @thulieblack! Here are a few suggestions to enhance clarity and usefulness.


Language

  • Include some examples of complex language or technical jargon that should be avoided and how they could be simplified.

Text

  • The point about defining acronyms or abbreviations is crucial. However, adding a reminder to define these terms upon their first use in any document might be beneficial.
  • "Structure your text in a uniform format" - this point could be expanded to clarify what a uniform format means in the context of AsyncAPI documentation.

Links

  • Including guidelines on when and where to use internal vs external links would be helpful. (optional)

Multimedia

  • Could you provide examples of good and bad alt text for images?
  • Add more guidance on when it's necessary to use images. For example, complex technical concepts might be better conveyed with diagrams.

User Interface

  • Clarify what is meant by "correct terminologies for UI elements."
  • Add detail on how tables should be formatted.
  • The tip about using aria-label attribute when unsure of the icon name is great, but consider explaining the aria-label attribute for those unfamiliar with accessibility practices.

Color usage (missing)

Please add a section on accessible color usage, especially for contributors who might be creating diagrams or other visual content.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added more content on the missing sections. How is it now? @alequetzalli

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

almost there! just a few fixes left

Copy link
Member

@quetzalliwrites quetzalliwrites left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking amazing so far, thank you for your continued dedication! ✨

Thank you so much for your incredible patience in waiting for me to review your work... interviewing and onboarding the 2023 gsod folks took more of my energy than I anticipated, and I had to put Style Guide tasks in the back burner for a little bit 😬.

- Structure your text in a uniform format by maintaining consistent structure throughout your docs. Accurately provide clear and concise descriptions of AsyncAPI concepts and elements as referenced throughout the documentation.

### Links
- Use descriptive and meaningful link text. For example, do not use phrases like *click here* or *follow this link* instead use *see*.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Use descriptive and meaningful link text. For example, do not use phrases like *click here* or *follow this link* instead use *see*.
- Use descriptive and meaningful link text. For example, do not use phrases like *click here* or *follow this link* instead use *see*.

See..what? To make it descriptive, link text must describe where the link takes them.

Please write a new example 😄

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤣🤣 you are schooling me on accessibility, and I'm glad I'm learning

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♥️🔥🔥🔥 it's definitely a mindset change

Copy link
Member

@quetzalliwrites quetzalliwrites left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getting closer, you're almost done

@quetzalliwrites
Copy link
Member

quetzalliwrites commented Jun 14, 2023

Screen Shot 2023-06-13 at 7 37 22 PM

FYI, your branch has conflicts to resolve because we finally merged #1261.

➡️ If I were you, I would open a PR in the /community repo with both of your style guide tasks content since we need to author community content directly from that repo. (We started this style guide work in the /website repo before the community finalized voting where the community content bucket would go.)

@quetzalliwrites quetzalliwrites added 📑 docs area/docs Specify what technical area given issue relates to. Its goal is to ease filtering good first issues. labels Jun 14, 2023
@thulieblack thulieblack deleted the accessibility branch January 29, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Specify what technical area given issue relates to. Its goal is to ease filtering good first issues. 📑 docs
Projects
Status: Community PR under Review 🧐
Development

Successfully merging this pull request may close these issues.

docs: new style guide - Accessibility
2 participants