...
Create your form and click in one of the fill in boxes.
Click the Data Tab, then choose Data Validation.
In the Data Validation Box, choose Input Message. Then type in some instructions that will help the reader with the form. Click OK. Your end result should show a yellow square with your instructions inside it.
Section 6.4: How to Provide Clear Error Alerts
...
Info |
---|
Now we have an error for birthdates. If someone types in a date before or after our age limit or an inaccurate date, they will be alerted. Remember, if an input field is required, the user must be alerted. |
Finally, make sure that if you have fields that are required, you need to add an alert to the reader so they know how many input fields they need to fill.
...
Tip |
---|
This form tells the reader that all fields must be filled to submit the form. |
Section 6.5: Form Controls and ActiveX Controls
...
One exception to the rule on using buttons is that you are allowed to make simple ones that run a macro. A good example is a Clear Form button. The Clear Form button will clear your form and is accessible for users using screen readers or only keyboards. To create your Clear Form button,
Go to the Developer Tab.
Click Insert, and in the Form Controls section, click the Form Control button.
Click and drag in cell B1 to create a button at a size you want.
The Assign Macro box will appear, click Cancel.
Now double click your button and type “Clear Form.”
...
Go to the Developer Tab and click Visual Basic.
In the Visual Basic box, click Insert and choose Module.
In the text box, type in the code for your button.
In the code, it says “Are you sure you want to clear the form?” This is in the code because a person can read “Clear Form” and know what it is. But a screen reader will not be able to read the Clear Form button. Just that a button is present. This question will be read by the screen reader and will alert the reader.
Be sure you made changes to the code if you need it. For example, changing the range to reach your whole form.
When you click the button, the question will pop up. If you answer “Yes”, the form will be cleared. If you answer “No,” nothing will happen.
Right click your button and click Assign Macro in the expansion menu.
In the pop-up box, click the Clear Form Macro and click OK.
Go back to the Developers Tab and click on the Macros button.
In the pop-up box, click the Options button and change the short cut to Control + Shift + C.
Clicking those buttons in that order will allow students who only use keyboards to use the macros and clear the sheet.
To fulfill accessibility requirements, add instructions to cell A1 on how to use the Clear Form button.
...