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

feat: oss.gg accessibility audit #2328

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Emmarie-Ahtunan
Copy link
Contributor

@Emmarie-Ahtunan Emmarie-Ahtunan commented Oct 11, 2024

What does this PR do?

Fixes #2327

If there is not an issue for this, please create one first. This is used to tracking purposes and also helps use understand why this PR exists

Bug fix recommendations

  • Bug fix (non-breaking change which fixes an issue)
  • Chore (refactoring code, technical debt, workflow improvements)
  • Enhancement (small improvements)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How should this be tested?

  • Test A
  • Test B

Checklist

Required

  • Filled out the "How to test" section in this PR
  • Read Contributing Guide
  • Self-reviewed my own code
  • Commented on my code in hard-to-understand areas
  • Ran pnpm build
  • Ran pnpm fmt
  • Checked for warnings, there are none
  • Removed all console.logs
  • Merged the latest changes from main onto my branch with git pull origin main
  • My changes don't cause any responsiveness issues

Appreciated

  • If a UI change was made: Added a screen recording or screenshots to this PR
  • Updated the Unkey Docs if changes were necessary

Summary by CodeRabbit

  • New Features
    • Introduced a new section titled "Side Quest: Accessibility Advocate" for conducting an accessibility audit on app.unkey.com.
    • Established a points system for reporting findings based on severity (50 to 300 points).
    • Added a requirement to submit bug issues with relevant screenshots as proof.
    • Included detailed guidelines for accessibility checks, such as valid ARIA attributes and keyboard accessibility.
    • Added multiple images to illustrate findings or examples related to the accessibility audit.

Copy link

changeset-bot bot commented Oct 11, 2024

⚠️ No Changeset found

Latest commit: 7f5f2cd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Oct 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
engineering ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 15, 2024 10:45pm

Copy link

vercel bot commented Oct 11, 2024

@Emmarie-Ahtunan is attempting to deploy a commit to the Unkey Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

coderabbitai bot commented Oct 11, 2024

📝 Walkthrough
📝 Walkthrough

Walkthrough

The changes introduce a new section titled "Side Quest: Accessibility Advocate" in the document oss.gg/2_accessibility_advocate.md. This section outlines the task of conducting an accessibility audit for the website app.unkey.com, detailing a points system based on severity and the requirement to submit a bug issue with relevant screenshots. Additionally, multiple images have been added to support the findings related to the accessibility audit.

Changes

File Change Summary
oss.gg/2_accessibility_advocate.md - Added section "Side Quest: Accessibility Advocate"
- Introduced requirement for an accessibility audit of app.unkey.com
- Established points system of 50-300 based on severity
- Required submission of a bug issue with screenshots
- Added multiple images as proof

Assessment against linked issues

Objective Addressed Explanation
Conduct an accessibility audit (2327)
Provide proof of task completion (2327)

Suggested labels

🕹️ oss.gg


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

github-actions bot commented Oct 11, 2024

Thank you for following the naming conventions for pull request titles! 🙏

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (3)
oss.gg/2_accessibility_advocate.md (3)

Line range hint 1-7: LGTM! Consider adding more specific guidelines for the accessibility audit.

The content clearly outlines the task, points system, and proof requirements for the accessibility audit. It's great that you emphasize the importance of original findings.

To further improve this section, consider adding:

  1. A brief list of key areas to focus on during the audit (e.g., color contrast, keyboard navigation, screen reader compatibility).
  2. Links to accessibility guidelines or tools that participants can use for the audit.

This additional information would help participants conduct more thorough and effective audits.

🧰 Tools
🪛 LanguageTool

[typographical] ~5-~5: If you want to indicate numerical ranges or time ranges, consider using an en dash.
Context: ...on’t copy from others ⚠️ Points: 50 - 300 points depending on the severity **...

(DASH_RULE)


[misspelling] ~7-~7: This word is normally spelled as one.
Context: ...en a bug issue in our repository incl. screen shots if relevant. ![Screenshot 2024-10-11 ...

(EN_COMPOUNDS_SCREEN_SHOTS)


10-18: Enhance screenshot presentation with descriptions and context.

The addition of screenshots from the accessibility audit tool is valuable. However, to maximize their usefulness:

  1. Add a brief description below each screenshot explaining the key findings or issues highlighted.
  2. Consider grouping related issues together and providing an overall summary of the accessibility concerns identified.
  3. Ensure that the screenshots are accessible themselves by adding appropriate alt text.

Here's an example of how you could structure this:

### Color Contrast Issues
![Screenshot showing color contrast problems](image_url)
*Description: This screenshot highlights areas where text color doesn't provide sufficient contrast with the background, potentially making it difficult for some users to read.*

### Keyboard Navigation
![Screenshot showing keyboard navigation issues](image_url)
*Description: This image shows elements that are not properly accessible via keyboard navigation, which can pose challenges for users who rely on keyboard-only interaction.*

By providing this context, you'll make the audit results more actionable and easier to understand for those reviewing the findings.


Line range hint 1-22: Great start on the accessibility audit documentation. Consider enhancing its structure and content.

The inclusion of both task description and visual evidence from the audit tool is commendable. To further improve the document and make it more valuable:

  1. Add an introduction explaining the importance of accessibility and the specific goals of this audit.
  2. Organize the findings into categories (e.g., color contrast, keyboard navigation, screen reader compatibility).
  3. For each category:
    • Provide a brief explanation of why it's important for accessibility.
    • Show the relevant screenshot(s).
    • Describe the specific issues found.
    • Suggest potential solutions or improvements.
  4. Include a summary section that highlights the most critical issues and outlines next steps.
  5. Consider adding a section on the methodology used for the audit, including any tools or guidelines followed.

This structured approach will not only make the document more comprehensive but also serve as a better guide for addressing the identified accessibility issues. It will also demonstrate a thorough understanding of accessibility principles, which aligns well with the "Accessibility Advocate" side quest objective.

🧰 Tools
🪛 LanguageTool

[typographical] ~5-~5: If you want to indicate numerical ranges or time ranges, consider using an en dash.
Context: ...on’t copy from others ⚠️ Points: 50 - 300 points depending on the severity **...

(DASH_RULE)


[misspelling] ~7-~7: This word is normally spelled as one.
Context: ...en a bug issue in our repository incl. screen shots if relevant. ![Screenshot 2024-10-11 ...

(EN_COMPOUNDS_SCREEN_SHOTS)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 0608fee and 2124698.

📒 Files selected for processing (1)
  • oss.gg/2_accessibility_advocate.md (1 hunks)
🧰 Additional context used

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (2)
oss.gg/2_accessibility_advocate.md (2)

21-22: Comprehensive guideline on landmark usage.

This guideline about ensuring all page content is contained by landmarks is crucial for proper document structure and navigation. The supporting link and image effectively illustrate the audit finding.

Consider adding a brief explanation of why landmarks are important for accessibility, to provide more context for developers who might be new to web accessibility.


8-26: Excellent improvements to the accessibility audit checklist.

The addition of these five specific accessibility guidelines greatly enhances the "Side Quest: Accessibility Advocate" section. Each guideline is well-structured with a clear description, a link to further resources, and supporting evidence in the form of an image.

To further improve this document:

  1. Consider adding a brief introduction before the guidelines to explain the importance of these specific checks in the context of web accessibility.
  2. You might want to include a summary or conclusion section that encourages developers to go beyond these guidelines and continuously learn about and implement accessibility best practices.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 2124698 and 2d9a303.

📒 Files selected for processing (1)
  • oss.gg/2_accessibility_advocate.md (1 hunks)
🧰 Additional context used
🔇 Additional comments (4)
oss.gg/2_accessibility_advocate.md (4)

9-10: LGTM! Clear guideline with supporting resources.

The addition of this accessibility guideline about ARIA attributes is valuable. The link to further resources is helpful, and the image provides good evidence of the audit finding.


12-13: Excellent addition for improving keyboard accessibility.

This guideline about keyboard accessibility for scrollable content is crucial for users who rely on keyboard navigation. The provided link and image effectively support the audit finding.


15-16: Great focus on table accessibility.

The guideline about ensuring discernible text for table headers is essential for screen reader users. The link and image effectively support this important accessibility requirement.


18-19: Important structural guideline added.

The inclusion of this guideline about ensuring a main landmark is crucial for proper document structure and navigation. The supporting link and image effectively illustrate the audit finding.

@Emmarie-Ahtunan Emmarie-Ahtunan changed the title bug: [oss.gg hackathon] accessibility audit bug: oss.gg accessibility audit Oct 11, 2024
@Emmarie-Ahtunan Emmarie-Ahtunan changed the title bug: oss.gg accessibility audit feat: oss.gg accessibility audit Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: [oss.gg hackathon] accessibility audit
1 participant