Comments (7)
It was easier just to write an automated way to do the whole thing. Thanks for the inspiration! Check out the limitations
section though... Nothing we can do about the text in many cases, until it's fixed on their end.
https://github.com/ctcpip/a11y-markdown-badges
from markdown-badges.
Hey @ctcpip , we do not have any guidelines to meet a11y requirements. If you do find any errors, you can create a Pull Request and I would gladly merge it.
@Ileriayo can we think of any pre-commit hook/action that can check for these guidelines? It can be easily managed then.
from markdown-badges.
@mehtaAnsh - I've been busy... check out a11y badges -- and my readme for a full demo. thanks again for the inspiration!
from markdown-badges.
FWIW, I did spend some time writing a parser to extract each fg and bg color and check the contrast ratio, and output any that did not meet the requirement. However, due to inconsistencies and lack of uniformity, it became clear it would need to handle all these edge cases.
To move forward, I would have to first write a general validator for each entry, fix the anomalies by updating the readme, and then could run it through the contract check parser. Ideally, both of these tasks would be part of either a pre-commit hook, or an action required to pass in order to merge. (But only after fixing all the existing issues first, or it would never pass.)
from markdown-badges.
That's a great way to implement. We can have something similar like this here in the form of a pre-commit hook.
from markdown-badges.
The implementation looks great. Can't think of any way to integrate this with this repository as of now. Great work!
from markdown-badges.
closing in favor of a11y-markdown-badges / a11y-badges
from markdown-badges.
Related Issues (20)
- Badge Request
- Why there is no such badge like 'Get My Resume'? Or can I create my own custom badge like this? HOT 1
- Badge Request: Zed
- Badge request: puppeteer
- Badge Request: UmiJS HOT 4
- Badge: Open API Spec HOT 2
- Badge Request: Pulumi
- Badge Request: D-Wave Systems
- Badge Request: pytest
- CI Pipeline: add style check
- Badge Request: PyTorch Geometric
- Badge Request: Zod Resolver
- Why not have zustand
- Badge request: 42 HOT 1
- Badge Request - Streamlit, Cursor HOT 1
- A website to take more badges from
- Badge request: GitHub Copilot HOT 2
- Website HOT 2
- Badge Request: Plotly Dash
- Badge Request - Gleam language HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-badges.