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

Chore: Improve Accessibility #129

Closed
2 tasks done
nelsonic opened this issue Aug 13, 2022 · 16 comments
Closed
2 tasks done

Chore: Improve Accessibility #129

nelsonic opened this issue Aug 13, 2022 · 16 comments
Assignees
Labels
awaiting-review An issue or pull request that needs to be reviewed chore a tedious but necessary task often paying technical debt enhancement New feature or enhancement of existing functionality help wanted If you can help make progress with this issue, please comment! priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished starter A beginner-friendly issue that is a good starting point for a new person T1h Time Estimate 1 Hour technical A technical issue that requires understanding of the code, infrastructure or dependencies user-feedback Feedback from people using the App

Comments

@nelsonic
Copy link
Member

nelsonic commented Aug 13, 2022

At present the Accessibility of the MVP is not lacking:
https://web.dev/measure/?url=https%3A%2F%2Fmvp.fly.dev%2F
image

This is reasonably easy to solve as we only have one form.

Todo

  • Follow the guidelines on Accessibility to achieve a 100% score.

Best Practices

  • Check best practices advice on logo image size. Can we create a smaller logo e.g. 24x24px
    or enlarge the logo in the UI to 32x32px

image

At present this is what the Top Nav looks like for me:
image

Related: #128

@nelsonic nelsonic added enhancement New feature or enhancement of existing functionality help wanted If you can help make progress with this issue, please comment! technical A technical issue that requires understanding of the code, infrastructure or dependencies priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished user-feedback Feedback from people using the App starter A beginner-friendly issue that is a good starting point for a new person chore a tedious but necessary task often paying technical debt T1h Time Estimate 1 Hour labels Aug 13, 2022
@nelsonic nelsonic self-assigned this Aug 14, 2022
@nelsonic
Copy link
Member Author

I'm going to try and pick this up now as my last pomodoro of the day. ⏳ 🍅

@nelsonic nelsonic added the in-progress An issue or pull request that is being worked on by the assigned person label Aug 14, 2022
@nelsonic
Copy link
Member Author

image

@nelsonic
Copy link
Member Author

nelsonic added a commit that referenced this issue Aug 14, 2022
@nelsonic
Copy link
Member Author

Next is a bit more tricky because it kinda messes with the "branding" ... 💭 🌈
image

Going to try and increase the contrast by bumping the saturation on all the buttons. 🧑‍💻

@nelsonic
Copy link
Member Author

Definitely prefer the brighter colors ... but this is what I've done:

image

@nelsonic
Copy link
Member Author

Going through the errors detected by Validator:
https://validator.w3.org/nu/?doc=https%3A%2F%2Fmvp.fly.dev%2F
image

@nelsonic
Copy link
Member Author

Basically none of the custom LiveView attributes e.g. phx-track-static, phx-submit, phx-value-id
or x-on:input from Alpine.js are allowed by W3C ... 🤦‍♂️

@nelsonic
Copy link
Member Author

Deployed my branch and now get: https://web.dev/measure/?url=https%3A%2F%2Fmvp.fly.dev%2F
image

PR: #130

@nelsonic
Copy link
Member Author

@nelsonic
Copy link
Member Author

nelsonic added a commit that referenced this issue Aug 14, 2022
nelsonic added a commit that referenced this issue Aug 14, 2022
@nelsonic
Copy link
Member Author

Looks like we need to add 'unsafe-eval' for the scripts loaded from cdnjs ... 💭
see: aframevr/aframe#5028

nelsonic added a commit that referenced this issue Aug 14, 2022
nelsonic added a commit that referenced this issue Aug 14, 2022
@nelsonic
Copy link
Member Author

Accessibility 100. ✅
image

@nelsonic
Copy link
Member Author

The final aspect of "Best Practices" that we can improve on is the images ...
https://web.dev/codelab-serve-images-correct-dimensions/

Think it's worth having a separate issue for this. 💭

@nelsonic nelsonic added awaiting-review An issue or pull request that needs to be reviewed and removed in-progress An issue or pull request that is being worked on by the assigned person labels Aug 14, 2022
@nelsonic
Copy link
Member Author

Don't think there's anything else to do for this issue: https://web.dev/measure/?url=https%3A%2F%2Fmvp.fly.dev%2F
image

@nelsonic
Copy link
Member Author

Closing. ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review An issue or pull request that needs to be reviewed chore a tedious but necessary task often paying technical debt enhancement New feature or enhancement of existing functionality help wanted If you can help make progress with this issue, please comment! priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished starter A beginner-friendly issue that is a good starting point for a new person T1h Time Estimate 1 Hour technical A technical issue that requires understanding of the code, infrastructure or dependencies user-feedback Feedback from people using the App
Projects
None yet
Development

No branches or pull requests

1 participant