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

Allow defining of semantic components #4

Open
charlietriplett opened this issue Mar 29, 2023 · 1 comment
Open

Allow defining of semantic components #4

charlietriplett opened this issue Mar 29, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@charlietriplett
Copy link

Description

If this tool allowed for the assigning of semantic components, it would help expedite development. For example, defining if a call to action is <a> link or a <button>. Should a set of mutually exclusive options be written as buttons or radio inputs?

Why

Developers are often left to choose semantics of controls. This is problematic because for people using assistive technology, the code is the UX.

This is important because designers should be designing the user experience for everyone.

We would use this to define which of our design system components to use.

This would serve to expedite development by reducing the decision making about UX placed on developers.

Possible Implementation & Open Questions

A tag to allow semantic html annotations, especially for form controls:

Web

  • Radio inputs
  • Checkbox
  • Button
  • Link
  • Select
  • Fieldset/legend
  • etc

Native

  • Button
  • Link
  • Picker
  • Segmented control
  • Switch
  • etc

Is this something you're interested in working on?

I'd be happy to work with others to help make this feature available.

Thank you!
Charlie Triplett
Sr Accessibility Manager, T-Mobile

@calebnance calebnance added the enhancement New feature or request label Mar 30, 2023
@calebnance
Copy link
Collaborator

Hey @charlietriplett,

We definitely have this on the roadmap, we've talked about annotating interactive elements and the best ways to keep it high level enough to help all that use this tool. Will keep this ticket open until we have it ready for prime time!

Thanks so much for the feedback!

We created this plugin as a small team out of passion for accessibility. We appreciate your insights—they will help us to prioritize work for next release. In the meantime, feel free to reach us with more questions and ideas via our feedback form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants