Comments (3)
Thinking more about this - how about if we made it a configurable list, with some sensible defaults? I don't know that the stopword approach will work well here - e.g. "Learn more about foo" is sensible link text. I'm hesitant to even try and come up with supporting heuristics such as length, although perhaps over time we could go in that direction.
from accessibility-developer-tools.
By stopword I just mean something we ignore when considering whether a label is meaningful. If it's all stopwords, that's probably not meaningful. Your example with stopwords removed would be "foo", which is not empty, so we assume it's meaningful.
I like the configurability-with-sensible-defaults idea.
from accessibility-developer-tools.
@ewinslow Oh right, now I remember what a stopword is :)
I think a combination of those two approaches would be good: a list of stopwords and a blacklist of phrases, both of which are configurable with sensible defaults.
from accessibility-developer-tools.
Related Issues (20)
- Export results to Checkstyle
- Project status HOT 2
- Unable to generate accessibility reports for dynamic web pages HOT 2
- v2.12.0 doesn't contain all tests
- Too many tabs. Doing too much. HOT 1
- Wi-Fi v's Bluetooth HOT 2
- Is accessibility-developer-tools being replaced by Google lighthouse?
- Link With Unclear Purpose fails even when aria-label is defined
- TypeError: null is not an object (evaluating 'axs.utils.getRoles(a).valid')
- All links to WAI-ARIA specs broken in README and Wiki HOT 3
- AX_ARIA_08 triggers on <tr>
- Authentication issue
- Hack game
- Add `aria-current` to the list of valid attributes
- AX_HTML_03 missing from Audit Rules documentation
- Developer tools chrome HOT 1
- Missing role="switch" validation HOT 1
- Code
- aria-haspopup does not include all possible values HOT 1
- make it easier
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 accessibility-developer-tools.