Add accessibility related features to the Vue Tracer
Clear and concise description of the problem
I think Vue Tracer can be integrated with a11y features, and I’ve made an initial attempt.The result is shown in the screenshot below.I also made some design improvements for the current a11y feature.
Suggested solution
Regarding the Vue Tracer feature: The main functionality is to inspect the a11y status of the selected element and categorize it using different colors based on the results.
Regarding the a11y panel: Find Vue-owned component roots, extract accessibility-related attributes, run a set of rule-based validations, and finally group the results by component and display them in the panel
If possible, I can submit a PR.Once approved, I will proceed with further optimization and refinement.
Alternative
No response
Additional context
No response
Validations
- [x] Follow our Code of Conduct
- [x] Read the Contributing Guide.
- [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
I would love to have this feature, but I wonder where and how do you plan to implement this feature? Shouldn't it just to be a seperate plugin?
Yes, as a standalone plugin package, published separately like @vitejs/devtools-kit. It can first be tested in examples, and then published later.
I’d also like to know what you think about this idea overall, and whether there are any shortcomings or areas that could be improved further.😊
In that case, it guess can just be a community plugin then?
OK, I understand what you mean.