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

Label the inputs on "Make a block" dialog for better accessibility #2984

Open
pamelafox opened this issue Feb 10, 2022 · 2 comments
Open

Label the inputs on "Make a block" dialog for better accessibility #2984

pamelafox opened this issue Feb 10, 2022 · 2 comments

Comments

@pamelafox
Copy link

A general best practice for accessibility/usability is to label form inputs, making it clearer how a user is meant to use them.
https://www.w3.org/WAI/tutorials/forms/labels/
It also makes it easier for others to give guidance as to how to fill out a form ("Write the title in the title field")

The make a block dialog has no labels at the moment:
Screen Shot 2022-02-10 at 10 36 59 AM

I suggest adding labels like:
Screen Shot 2022-02-10 at 10 37 42 AM

Or whatever the labels are meant to be in Snap parlance.

(Notably, I didnt realize the palette clicker was even clickable, I thought it was just some sort of visual thing that was always there. A label helps point out that something is a field, too).

@jmoenig
Copy link
Owner

jmoenig commented Feb 11, 2022

Thanks!

I'd like to redesign the whole make-a-block UI in the light of what we've learned and how other blocks languages have progressed in the meantime. For example, I increasingly feel that not being able to specify inputs right away (aside from a horrible kludge that prefixes them with the percent sign) is a problem, because after giving a block a "name" we're forcing users to specify the parts of the "name" that really are internal input names (and won't show up in the block label at all) in a second step, which is totally not obvious, either.

@brianharvey
Copy link
Collaborator

Uh oh, is "other block languages" a euphemism for Scratch? :)

How should the user specify input names? Will it be discoverable? Will they be able to open the long form input dialog to specify their types? Etc.

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

No branches or pull requests

3 participants