You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/documentation-site/patternfly-docs/content/design-guidelines/components/number input/img/number_input_anatomy.svg
Copy file name to clipboardExpand all lines: packages/documentation-site/patternfly-docs/content/design-guidelines/components/number input/img/number_input_states.svg
Copy file name to clipboardExpand all lines: packages/documentation-site/patternfly-docs/content/design-guidelines/components/number input/img/with_threshold.svg
Copy file name to clipboardExpand all lines: packages/documentation-site/patternfly-docs/content/design-guidelines/components/number input/number-input.md
1.**Label:** Indicates what value the user should input in the numeric field.
10
15
2.**Input field:** Area for the user to type in their numeric input.
@@ -30,7 +35,10 @@ section: components
30
35
* Determine an increment size relative to your specific value range. Scale your increment size to accommodate for the types of values users will input in context.
31
36
For example: If your range is from 0-10, have increments of 1, but if your range is from 0-100, have increments of 10.
32
37
* Include unit symbols to the right of the text input and increase button, depending on your use case. Always use a unit’s standard abbreviation or symbol. For a list of recommended symbols, see our <ahref="https://v4-archive.patternfly.org/v4/ux-writing/units-and-symbols#writing-units-of-measure">Units and symbols page</a>.
@@ -46,7 +54,9 @@ A number input with thresholds disables each button when a user’s numeric inpu
46
54
47
55
When adding thresholds to a number input, be sure to inform users with text to minimize their risk for input errors. If a number input for the number of storage drives has a maximum input value of 20, communicate this limit in helper text: <i>Maximum capacity 20</i>.
48
56
49
-
<imgsrc="./img/with_threshold.png"alt="Number input with threshold"width="474px"/>
57
+
<divclass="ws-docs-content-img">
58
+

59
+
</div>
50
60
51
61
## Accessibility
52
62
Consider the following guidance to ensure that your number input is <ahref="https://www.section508.gov/">508 compliant</a>:
0 commit comments