Minimize User Errors #13
Comments
Are we all happy with this? I envision a short script in stack overflow making a lot of this automatic as soon as it becomes a requirement |
new text Changes in the description: |
from gregg The concerns I would have with this are what does unit mean (do you mean units - like inches or pound etc?) I like the last one - -though I don’t know how often it is true. I often find the corrections are wrong and really mess me up. Better to suggest than to do? |
Minimize user errors: Input error are automatic corrected where the correction can be reliably made. This avoids Greggs issues |
@lseeman Is there a PR ready to go on this or do you need more time? |
there was a PR a while ago
All the best
Lisa Seeman
LinkedIn, Twitter
…---- On Sat, 04 Feb 2017 19:53:30 +0200 joshueoconnor<notifications@github.com> wrote ----
@lseeman Is there a PR ready to go on this or do you need more time?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Updated the issue description to reflect the FPWD text. |
New wording The user can select from a choice of valid input values when there a finite set of values for a input. Alternative formats of separate characters such as dash, dots, bracket and spaces are accepted in numerical inputs. we are also happy to make this two sc. |
There was an error in Lisa's version. The word "separate" should have been "separator". Therefore it should now read: New wording The user can select from a choice of valid input values when there a finite set of values for a input. Alternative formats of separator characters such as dash, dots, bracket and spaces are accepted in numerical inputs. we are also happy to make this two sc. |
I think there needs to be an upper limit on the finite set of values for an input. It is not helpful to present a list of choices where there are more than X results (no idea what this X is). Allowing selection using some sort of autocomplete rather than being presented with all the choices is far more appropriate in these circumstances.
Regards,
James
…On Apr 26, 2017, 3:31 PM -0700, mapluke ***@***.***>, wrote:
There was an error in Lisa's version. The word "separate" should have been "separator". Therefore it should now read:
New wording
The user can select from a choice of valid input values when there a finite set of values for a input. Alternative formats of separator characters such as dash, dots, bracket and spaces are accepted in numerical inputs.
we are also happy to make this two sc.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@jnurthen A very good point. I'm also not sure what the value of X is. I personally find that some of the lists of countries are tiresomely long and difficult to navigate (particularly when I don't know if I am looking for "United Kingdom", "Great Britain", "England" or some other variant! |
It would now read The user can select from a choice of valid input values, unless there are more than forty valid values for any section of the input field. |
@lseeman The problem is we will get asked to justify we have chosen 40 and not 35, or 50 and at the moment we don't have a good answer. Choosing a number that is greater or equal to 31 allows all days of a month to be included, but any figure over that needs some evidence to back up its selection. |
I wonder if this would be better at a AAA level. It seems like we may be putting an undue burden on authors at level A, since there may be a significant amount of programming required to provide a complete set of acceptable alternatives. |
The user can select from a choice of valid input values, unless there are more than thirty one valid values for any section of the input field. The user can select from a choice of valid input values, unless there are more than thirty one valid values for any section of the input field or unless this interferes with the main purpose of the content (such as evaluation applications). FYI |
Although I see the benefits of what is intended here it’s more a technique for SC 3.3.3. or maybe a AAA as Mike mentioned at #13 (comment) Implementation can be hard and with multiple languages on a site may cause frustrating results due to differences in writing formats (example: dd-mm-yy VS mm-dd-yy). Are automatic adjustments, which may end up in the wrong results, the responsibility for the (web site ) owner for example or for the user? Do we need a confirmation in place for all adjustements like we have at SC 3.3.4? 3/2/2017 may easily be converted to 03/02/2017 but 3/12/2017 converted to 03/12/2017 could be the wrong result as I just forgot to ad a ‘1’ to the date 31/12/2017. |
working with @lseeman on some rewording for this one. Please provide comments...
Questions:
|
Is the phrasing "where it is possible" viable for a Success Criteria? I suspect this would be a "get out of jail, free" card and most devs would skip this entirely. I do like this SC where it pertains to numbers - and more specifically to manage date input, but perhaps that might be too narrow of a scope (having this SC focus solely on date inputs)? I'm still struggling on how this can be implemented on text inputs. I see where it can be of value in some situations where options are limited - but in cases where the the options are going to be pre-defined (or limited), aren't they already going to provide that list of valid inputs? |
For conflicts on other SC I don’t see a potential failure of 3.2.2 On Input – Level A as it doesn’t change the context as defined in https://www.w3.org/TR/UNDERSTANDING-WCAG20/consistent-behavior-unpredictable-change.html#context-changedef |
For the title of the SC itself “Minimize User Errors” I have the feeling this title is only partly covered by the solutions we try to find for the intent as described (too generic). We do minimize user errors this way but there’s a lot more possible for minimizing user errors and to confiscate the whole spectrum of minimizing user errors for these two suggested options may conflict other minimizing user error options in the future as they all want to belong tot this SC. |
I came across a usability discussion by the UK Government about why they don't use select boxes. http://govuk-elements.herokuapp.com/form-elements#form-select-boxes They say:
I'm not sure what to do about this, but I thought we should be aware of it. |
I think their guidance is kinda flaky. These are their stated reasons, and my comments.
That's what a label is for. Selects can also be programmatically set to expose more than one value by default.
I'd like to see some studies supporting that. Including instructions for operation is obviously an option.
What devices, and in what context? Is anyone aware of any issues? They suggest a few options:
So, their primary advice is antithetical to what COGA is seeking. Their advice to use radio buttons and checkboxes aligns with what we have for language now and could be a technique (we're not requiring a select; we're saying provide a list of options, which radios and checkboxes are). Autocomplete? I think that's going to depend on implementation. Their example of countries shows 3 options! Their advice to make custom select boxes? I originally though "yuck" but their example is similar to an ARIA pattern. Still a risky piece of advice without more qualifications though. |
@jake-abma, so first off, please ignore the Intent and other material for the time being. Discussion is focused entirely on the SC language.
Suggestions? Would "Minimize User Input Errors" be better?
I mentioned considerations for spacing in the definition I provided to separator characters. If we can find ways to make this not just numeric, I think that would be great. I just think that becomes more challenging. Might make more sense as a Best Practice. |
BTW, here is the first draft I sent with regard to a definition of separator characters...
|
I like the definition.
I think so
Yes I think so. |
Okay, then, here it is in full form. Based on reaction to this, I'll put in a pull request on the git version... Minimize User Input ErrorsWhere users are required to submit information, all of the following are true:
Exceptions
DefinitionsSeparator characters
|
@awkawk and @joshueoconnor, Style question. Ordered list:"Achieve the following"1.4.8 Visual Presentation "at least one of the following is true"3.3.4 Error Prevention (Legal, Financial, Data) Unordered list:list of exceptions1.1.1 Non-text Content "The following are true"1.2.1 Audio-only and Video-only (Prerecorded) "At least on of the following is true"1.4.7 Low or No Background Audio Since the list of exceptions seems consistently unordered, I will adopt that for the exceptions. I will leave the 'all' as an ordered list, since that makes more sense to me. |
@nschonni and several others made the following comments at the Global accessibility Awareness Day
Perhaps we should have a conversation with the research team at the UK GOV who did this, to evaluate their findings and weigh them. |
@mbgower thanks for the feedback!
Ok, clear, but this brings me to the question of the texts on Github and clearance on what to respond on. What is the rationale / way of work for members to respond? This may cause lots of waste in spend time and would work better if this is updated on a regular basis. Is this already documented somewhere?
Seems more durable, could ask others what they think?
The example I gave is a regular and common pattern along with others we could find. It would feel not correct not to take these ones along in the SC and only focus on numbers. It’s more a case of data formats and automatic corrections on data formats or not? It totally would suit the SC if this is for all formatting. All input values could fall under “Common input errors…” |
Hi @mbgower still wondering why the focus on numerical data
Where will it go wrong if we just make it “Where data needs to be manually entered…”? Also for the definition of “Separator characters”
According to me we can not use this for a definition as a separator between letters (or other characters) are also separators. Besides the example I gave before we also have postal codes (numbers and letters mixed with a separator between), string inputs with a separator (like providing tags in a CMS) and lots more. A generic approach where the data format i.c.w. the separator is the focal point and not fixed on numbers would be preferable. |
@jake-abma your comments on the definition of separator keys highlights the challenge in making it more than numbers. If we expanded what we're covering for the input scenario to include alphas, then as you point out, the separator definition would need to be reduced to a specific subset of punctuation. You then have a few problems:
If you believe we can cover this by language changes, I'm open to suggestions |
|
Hi All,
Coming off 2 days of AccessU, and I'd like to re-examine something a bit
closer (please). The current draft text states:
Where all possible inputs come from a discrete set of data values, a user
can select from a choice of valid input values without manually entering
the value.
There is a concern that this will be misinterpreted to suggest creating
something like the following:
[image: Inline image 1]
[alt="screen capture of a form asking for telephone number, and then there
are 10 select combo boxes each with 0-9, so that the end-user "selects" the
10 digits to make up their phone number"]
...and so my question is, how do we avoid this?
Providing 10 discrete <select> elements with the options of 0 through 9 in
each <select>, to thus complete providing a telephone number, is and would
be both a literal reading of the requirement, as well as a literal
"solution". Yet I'm fairly confident this is NOT what we want or are asking
for (but I'm equally confident we're going to see stuff like this if we're
not careful).
I'm not sure whether we need to modify the SC language, or address this in
either the Understanding documents or the (Failure) Techniques document,
but I did want to get this out on the table as a real and serious concern.
Thoughts?
JF
…On Fri, May 19, 2017 at 9:11 AM, Mike Gower ***@***.***> wrote:
Perhaps we should have a conversation with the research team at the UK GOV
who did this, to evaluate their findings and weigh them.
@lseeman <https://github.com/lseeman> , @DavidMacDonald
<https://github.com/davidmacdonald> made this suggestion in his prior
comment <#13 (comment)>.
is this worth following up on?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABK-czHd9-_BUeJtM7zMJSia5lWrOrg3ks5r7aL7gaJpZM4J_16g>
.
--
John Foliot
Principal Accessibility Strategist
Deque Systems Inc.
john.foliot@deque.com
Advancing the mission of digital accessibility and inclusion
|
Solid view @johnfoliot, When I was re-reading the SC text today I had the same feeling, did’t mention it yet but would even elaborate a bit on this.
Does this means as an A Level SC this is mandatory? Even with / without Johns examples, would a plain input text element fail IF there are less than 32 known discrete data values (always)? This would dictate the choice / design of the site / application and I don’t think this is what we want to achieve here. Or DO we want to dictate solutions like a text input and alternative selects OR text input and always an auto-suggest when less than 32 known discrete data values are present? From an accessibility perspective also for lots of people the text input is preferable above selects or auto-suggest as these are harder to operate / make accessible (on all devices). |
Are we really thinking anyone would try to alter a single input date field into 8 separate inputs that each take a numeral? Or a 10-digit phone number into 10 separate inputs? I can envision dates being three-field inputs and have seen some implementations that way, i.e., Y-M-D (1900-2017, 1-12, 1-31). I guess it's conceivable that someone might try a phone line as code-trunk-line (200-999, 100-999, 1-9999). But note that neither of those scenarios is required to meet this proposed SC. The most that would be required would be requiring the provision of month and day of month as options to choose from. All the others fall under existing exceptions. Note too that something like an accessible date picker negates the need to offer any select containing numbers in the date scenario. Is anyone else gleaning the language as requesting or condoning what John is concerned with? |
Yes, it would. What examples can you think of where this would be problematic? |
Hi Mike,
To be clear here, I am playing Devil's advocate - clearly the example I
showed was, erm... silly, but over the years I've seen plenty of
well-meaning but "silly" solutions to perceived issues or interpretations
of WCAG Success Criteria. I'm just suggesting that an editorial adjustment
be made here to explicitly rule-out well-meaning but misguided solutions
like this.
Exceptions
1. Where the set of discrete data values is larger than thirty-one valid
values.
2. Where providing a list of valid input values interferes with the main
purpose of the content.
3. Where leaving out or substituting separator characters could alter
the numeric value, such as substituting commas with periods.
4. *Where the data value could be constructed using singular data values
into a compound value (for example phone numbers, credit card numbers,
etc.)*
*(And then expand on this more in the Understanding and Failure Techniques
documents, to rule out using this type of convoluted interface)*
Does that make more sense? (Also, I can only think of situations where this
would impact numerical values, and so I wonder if that is also a relevant
distinction...)
JF
…On Fri, May 19, 2017 at 12:21 PM, Mike Gower ***@***.***> wrote:
There is a concern that this will be misinterpreted to suggest creating
something like...
Are we really thinking anyone would try to alter a single input date field
into 8 separate inputs that each take a numeral? Or a 10-digit phone number
into 10 separate inputs? I can envision dates being three-field inputs and
have seen some implementations that way, i.e., Y-M-D (1900-2017, 1-12,
1-31). I guess it's conceivable that someone might try a phone line as
code-trunk-line (200-999, 100-999, 1-9999). But note that neither of those
scenarios is required to meet this proposed SC. The most that would be
required would be requiring the provision of month and day of month as
options to choose from. All the others fall under existing exceptions.
Is anyone else gleaning the language as requesting or condoning what John
is concerned with?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABK-c5zisPgMZU6ZTTAwjEX-hxulKtXcks5r7c-DgaJpZM4J_16g>
.
--
John Foliot
Principal Accessibility Strategist
Deque Systems Inc.
john.foliot@deque.com
Advancing the mission of digital accessibility and inclusion
|
@marcjohlic has been advocating restricting this SC solely to numeric inputs. So I guess that is one potential option, but that just seems overly reduced to me. I'm not sure that your exception really resolves what I think you're viewing as a potential issue. Can we get some others weighing in on these three topics?
In example, could we make the second requirement be
Might have to add a bit to the separator definition to accommodate that. Also don't know whether the term "alphanumeric" (or the concept of a "separator") has globalization considerations. |
@marcjohlic <https://github.com/marcjohlic> has been advocating
restricting this SC solely to numeric inputs. So I guess that is one
potential option, but that just seems overly reduced to me.
Agreed. <select><option>January, February, March, April... would all be
valuable/useful in the context of this SC. (and... I would argue that
providing "August" instead of "08" would additionally benefit some users as
well, with a lower cognitive overhead)
I'm not sure that your exception really resolves what I think you're
viewing as a potential issue.
The potential issues is some developers may take the current wording to
mean they must do what the example I showed illustrated - I mean, it *is*
an actual solution to meeting the current wording, but one that sets
accessibility backward.
If my suggested Exception language doesn't meet the need, does anyone have
any other suggestions? I don't want to not address this issue, but if not
via an exception, then is there another way forward? (FWIW, I hate bringing
forward problems without first at least trying to come up with one
potential solution.)
JF
…On Fri, May 19, 2017 at 1:51 PM, Mike Gower ***@***.***> wrote:
Also, I can only think of situations where this would impact numerical
values, and so I wonder if that is also a relevant distinction
@marcjohlic <https://github.com/marcjohlic> has been advocating
restricting this SC solely to numeric inputs. So I guess that is one
potential option, but that just seems overly reduced to me.
I'm not sure that your exception really resolves what I think you're
viewing as a potential issue. Can we get some others weighing in on these
three topics?
- restricting to numeric input
- expanding to make the numeric input requirement expand to letters as
well
- outlier situations we need to address, and to what degree they could
be dealt with in techniques and Understanding doc
In example, could we make the second requirement be
Where alphanumeric data needs to be manually entered, a user can leave out
separator characters or use alternative separator characters.
Might have to add a bit to the separator definition to accommodate that.
Also don't know whether the term "alphanumeric" (or the concept of a
"separator") has globalization considerations.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABK-c6e9qODKdWa2JYMCS2Toh8A5vPJhks5r7eSogaJpZM4J_16g>
.
--
John Foliot
Principal Accessibility Strategist
Deque Systems Inc.
john.foliot@deque.com
Advancing the mission of digital accessibility and inclusion
|
I think the suggestion is just for the second part... separators, not the first part (selecting from a list) I think restricting the separator requirement to numerical data is prudent. But Jake's example of Postal codes is interesting... Mike G. @mbgower counter concerns I think trump them though, unless they can be answered. I think someone needs to track down the UK team... because there will be a lot of references to how WCAG is flying in the face of their recommendations. Let's get to the bottom of it. |
There are error checking algorithms that already standardize the space in the Canadian Postal code format (A1A 1A1) and ensure numerics and alphas appear in the right locations in the string. (So that someone typing v8v25m gets prompted to confirm V8V 2M5 is the correct code). Such algorithms are what I think were envisioned in the original scope of the SC. We can certainly offer encouraging language for incorporating these, and best practice techniques, but I do think we'll have to reduce down to what is truly measurable to get initial traction. @DavidMacDonald, what do you think of this mod to the second point? We'd need some word alterations to the separator definition, but it is essentially already covered by it. I'm a little leery of extending it, but I'd like some reaction.
My biggest concern? That suddenly now we have to figure out how someone's text entry is interpreted without spaces, as an example, is it "carpet" one word or "car pet"? Or worse, is punctuation a form of separator, and do I have to add it in? "eats, shoots and leaves". If someone can come up with something firm, cool. Otherwise focusing at least on only numbers for the manually entry is a lot cleaner. |
I think for this dot release we'll need to stick with numerical for the separator requirements. @mbgower I've established contact with the Gov UK team, and will try to get to the bottom of their recommendations to NOT use Regarding @johnfoliot concern that its not explicit enough about the user being able to choose and automatically enter the choice, that can be word smithed, We could define "choose". I agree we don't want the word "select" because it maps directly to an HTML element, and apparently its an element that some UI schools of thought think is poor. That's what I'd like to get to the bottom of. |
To be surveyed shortly by group |
Current versions of SC and Definitions
SC Shortname
Minimize User Errors
SC Text
Common input errors are automatically corrected where the corrections can be reliably made.
Suggestion for Priority Level
(A)
Related Glossary additions or changes
What Principle and Guideline the SC falls within.
Principle 3 Understandable - Guideline 3.3: Help users avoid and correct mistakes.
This is an update to 3.3.3 Error Suggestion
Description
The intent of this Success Criteria is to minimize user generated errors by detecting, and when reliable and possible, automatically correcting common input errors.
For example, while registering for an online banking account a form requires the input of the user's birthdate. The required input format is xx/xx/xxxx with a leading zero for single digits. If a single input field with no input correction is presented, a user with a cognitive disability may enter 1/3/1996 thus triggering an error notification. It may not be clear to the user that the required format is 01/03/1996 even if an example for instance, xx/xx/xxxx, is shown below the input field or in the error notification. To alleviate any confusion for the user the application should insert a leading zero if a single digit is entered into the month or day along with the required forwardslash characters which act as a delimeter between the month, day and year.
Minimizing user generated errors by automatically correcting them will also minimize error notifications. Error notifications may be distracting for some users with cognitive disabilities, taking focus away from tasks and task completion. Users with cognitive disabilities may find it difficult to understand how to correct an error even when a notification is given. In the case of an unsuccessful form submission, this group of users may abandon forms because they are unsure of how to correct the error even though they are aware that an error has occurred.
If automatic correction is reliable and possible it should be implemented. If automatic correction is not possible the content author, the user agent or supported APIs should provide a description of the error along with suggestions for fixing the error except when to do so would jeopardize the security or purpose of the content.
This Success Criterion helps users who need help preventing errors.
Benefits
People with cognitive disabilities and aging users abandon tasks and believe they cannot complete them if they receive too many errors. See Neilson studies.
We need to minimize errors because:
This Success Criterion helps people with many different cognitive disabilities including people with:
Related Resources
Testability
Techniques
-- Calendars should default to the first relevant day. Work calendars should default to first working day of a user's locale.
-- Calendar based booking systems must avoid ability to book return date before departure date.
Failure example: The booking form provides two calendars without clear labels and instruction and user is able to select dates without warning as to whether they are possible e.g. flight out on June 1st - flight return May 30th.
Pass example:User is unable to select inappropriate dates and a simple explanation provided should he/she try to do so.
Failure example: User can select inappropriate dates without warning. Calendar merely grays out inappropriate dates which may not be noticed. No warnings provided.
Use the default temperature format of location. The requirement to convert between Centigrade and Fahrenheit and vice versa is burdensome so defaulting to the format of the locale removes one layer of complexity.
We can also include:
-- Automatic correction of required formats for any input fields
-- Appropriate default values for date fields within the context of the application
-- Appropriate default time zone format based on location
-- Appropriate default currency format based on location
-- Appropriate default temperature format based on location
Working group notes
removed the first sentence: Identify common input errors.
It was decided that the original COGA Success Criteria below should be broken into three separate Success Criteria - Minimize User Errors (outlined above), Labels or Instructions, and Identify Charges.
Prevent the user from making errors
Was: Support is provided that help users complete and check their task, that includes
(may be provided via a standard personalization mechanism) (COGA Techniques 2.9 )
In forms
For legal and financial transactions
For all content
The text was updated successfully, but these errors were encountered: