All Projects → mapbox → mapbox-gl-accessibility

mapbox / mapbox-gl-accessibility

Licence: ISC license
An accessibility control for Mapbox GL JS

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to mapbox-gl-accessibility

web-maps-wcag-evaluation
Manual accessibility evaluation of popular web map tools.
Stars: ✭ 28 (-56.25%)
Mutual labels:  accessibility, mapbox-gl-js
Caster
Dragonfly-Based Voice Programming and Accessibility Toolkit
Stars: ✭ 242 (+278.13%)
Mutual labels:  accessibility, voice-recognition
brasiltts
Brasil TTS é um conjunto de sintetizadores de voz, em português do Brasil, que lê telas para portadores de deficiência visual. Transforma texto em áudio, permitindo que pessoas cegas ou com baixa visão tenham acesso ao conteúdo exibido na tela. Embora o principal público-alvo de sistemas de conversão texto-fala – como o Brasil TTS – seja formado…
Stars: ✭ 34 (-46.87%)
Mutual labels:  accessibility, voice-recognition
SAPC-APCA
APCA (Accessible Perceptual Contrast Algorithm) is a new method for predicting contrast for use in emerging web standards (WCAG 3) for determining readability contrast. APCA is derived form the SAPC (S-LUV Advanced Predictive Color) which is an accessibility-oriented color appearance model designed for self-illuminated displays.
Stars: ✭ 266 (+315.63%)
Mutual labels:  accessibility
a11y-ally
A collection of tools to aid developers observe, verify, and test the accessibility of Android applications.
Stars: ✭ 23 (-64.06%)
Mutual labels:  accessibility
aria-at
Assistive Technology ARIA Experience Assessment
Stars: ✭ 115 (+79.69%)
Mutual labels:  accessibility
AmazonSpeechTranslator
End-to-end Solution for Speech Recognition, Text Translation, and Text-to-Speech for iOS using Amazon Translate and Amazon Polly as AWS Machine Learning managed services.
Stars: ✭ 50 (-21.87%)
Mutual labels:  voice-recognition
lint-html-with-css
Lint HTML with CSS. A collection of CSS snippets from the hashtag #lintHTMLwithCSS on twitter. These CSS snippets intend to warn developers about common mistakes made in HTML.
Stars: ✭ 35 (-45.31%)
Mutual labels:  accessibility
accessibility-for-teams
A ‘quick-start’ guide for embedding accessibility and inclusive design practices into your team’s workflow
Stars: ✭ 80 (+25%)
Mutual labels:  accessibility
Data-Whisperer
An NLP text to vizualization builder for Tableau.
Stars: ✭ 13 (-79.69%)
Mutual labels:  accessibility
AccessibilityExample
辅助功能(无障碍)的使用教程,适合新手快速入门(AccessibilityService)
Stars: ✭ 99 (+54.69%)
Mutual labels:  accessibility
togglific
Do you find web animations distracting? Togglific provides a distraction-free web experience!
Stars: ✭ 17 (-73.44%)
Mutual labels:  accessibility
houndify-sdk-go
The official Houndify SDK for Go
Stars: ✭ 23 (-64.06%)
Mutual labels:  voice-recognition
LipSync
An open-source mouth operated sip and puff joystick that enables people with limited hand function emulate a mouse on their computer and/or smartphone.
Stars: ✭ 27 (-57.81%)
Mutual labels:  accessibility
accessibility
A Python C Extension that wraps the Accessibility API for Mac OS X.
Stars: ✭ 13 (-79.69%)
Mutual labels:  accessibility
sa11y
Salesforce Automated Accessibility Testing Libraries
Stars: ✭ 58 (-9.37%)
Mutual labels:  accessibility
SmartMirror
My MagicMirror running on a Raspberry Pi
Stars: ✭ 110 (+71.88%)
Mutual labels:  voice-recognition
lascallesdelasmujeres
Proyecto colaborativo para fomentar la generación de contenidos en OSM y Wikipedia, sobre mujeres.
Stars: ✭ 45 (-29.69%)
Mutual labels:  mapbox-gl-js
AStack
The Missing SwiftUI Adaptive and Accessible Stacks Library.
Stars: ✭ 110 (+71.88%)
Mutual labels:  accessibility
who-owns-what
Who owns what in nyc?
Stars: ✭ 146 (+128.13%)
Mutual labels:  mapbox-gl-js

Mapbox GL Accessibility Plugin

Build Status

An accessibility control for mapbox-gl-js.

Note: This is a work in progress and we welcome contributions. See issues to learn what needs to be worked on!

Demo

  1. Go to https://labs.mapbox.com/mapbox-gl-accessibility
  2. Enable voice-over in your browser
  3. Press tab to hear the result

Usage

// Should be run after the map has been initialized

map.on('load', () => {
  map.addControl(new MapboxAccessibility({

    // A string value representing a property key in the data. This
    // will be used as the text in voiceover.
    accessibleLabelProperty: 'name',

    // The layers within the style that
    // 1. Contain the `accessibleLabelProperty` value as a key
    // 2. Should be used for voiceover.
    layers: [
      'poi-label',
      'transit-label'
    ]
  }));
});

MapboxAccessibility will locate features that belong to layers cooresponding to the layers option array and add button elements to the map. To hide these visually but still allow them to be picked up by a screen reader, add the following CSS to your page:

.mapboxgl-accessibility-marker {
  background: transparent;
  margin: 0;
  padding: 0;
  appearance: none;
  border-radius: 0;
  border: none;
  position: fixed;
}

.mapboxgl-accessibility-marker:focus {
  border: 2px solid black;
}

Developing

npm install & npm start

Visit http://localhost:5000/examples/ to load the demo. You also need to store an access token in localstorage. Open developer tools, locate the console tab and insert:

localStorage.setItem('accessToken', {your token});

Tests

MAPBOX_ACCESS_TOKEN={your token} npm run test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].