Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The aim of accessibility is to make the applications usable by people with disabilities.

Some examples might include:

  • Visually impaired people using screen readers.

  • People with motor function impairments using the keyboard to activate website functionality.

  • People with hearing impairments relying on captions/subtitles or other text alternatives for audio/video content.

\uD83D\uDCD8 Instructions

In order to make the application accessible we can do the following steps.

  1. Add TextMode="Date" in the text boxes we need to make accessible, as in the example below. <asp:TextBox ID="txt_OccurrenceDateFrom" runat="server" TextMode="Date" MaxLength="10" Columns="10" CssClass="form-control input-lg full-width"></asp:TextBox>

  2. Remove the Calendar Widgets from the pages, as it would be a duplicate, the text boxes would have a Calendar when we add textmode=date.

  3. Remove Regular expression validators and the respective code in code behind.

  4. Add compare validators, I have researched, and these validators seem to be working best. <asp:CompareValidator id="dateValidatorFrom" meta:resourcekey="invalidOccurrenceDateFrom" runat="server" Type="Date" Operator="DataTypeCheck" Display="Dynamic" ControlToValidate="txt_OccurrenceDateFrom"></asp:CompareValidator>

  5. Test with Screen Reader NVDA.
    Link to download NVDA - https://www.nvaccess.org/download/

Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu.

\uD83D\uDCCB 

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.