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

An ADA issue: the range slider bar not visible in High Contrast mode #37

Open
dmitrii-fediuk opened this issue Dec 1, 2018 · 1 comment
Labels

Comments

@dmitrii-fediuk
Copy link
Contributor

The range slider bar for selecting distance on store locator page is not properly visible when viewed in high contrast mode.
This makes the distance selection difficult for the user.

kitchencollection.com/storelocator/index/index

03

Code snippet

<div class="form-group col-md-8 col-sm-8 col-xs-12 slider-range-min"><div id="slider-range-min" class="slider-range-bar slider-range ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all" aria-disabled="false"><div class="ui-slider-range ui-widget-header ui-corner-all ui-slider-range-min" style="width: 2.45123%;"></div><a class="ui-slider-handle ui-state-default ui-corner-all" href="#" style="left: 2.45123%;"></a></div><!-- 2018-10-25 Dmitry Fedyuk https://www.upwork.com/fl/mage2pro An ADA issue: the control's «reset» state is not announced by the screen reader when user selects the «Reset» button on the «Store Locator» page https://github.com/kitchencollection-com/core/issues/30 --><span class="show-unit slider-range-amount" tabindex="0">50 Mi</span></div>

Rationale

High contrast settings benefit users with low vision, color blindness or other visual disabilities.
The High Contrast themes present in Windows change or invert web page background and text colors.
If there are elements/controls present on the webpage which gets truncate, gets disappear or shows different states while high contrast mode is ON, then the affected functionality will become inaccessible or hard to use for a user having low vision, or other visual disabilities and relies on high contrast mode for accessing web applications.

Recommendations

Provide a background to the

having id="slider-range-min", using high contrast media query.

@dmitrii-fediuk dmitrii-fediuk changed the title An ADA issue: «Range slider bar not visible in High Contrast mode» An ADA issue: the range slider bar not visible in High Contrast mode Dec 1, 2018
@dmitrii-fediuk
Copy link
Contributor Author

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

No branches or pull requests

1 participant