Accessify Wiki
Advertisement

Your place to share nature.

Welcome to iSpot! Learn more about wildlife, share your interest with a friendly community and get help identifying what you have seen. iSpot is part of The OpenScience Laboratory - an online centre at the cutting edge of practical science. This is an initiative of The Open University and The Wolfson Foundation.

Accessibility and usability fixes for the nature community site.

Includes accessibility enhancements and fixes for the new "ispot_2013" theme.


%YAML 1.2
---
_CONFIG_:
    name: {{PAGENAME}}
    description: ""
    includes:
        - http://www.ispot.org.uk/*
    test_urls:
        - http://www.ispotnature.org/
        - http://www.ispot.org.uk/
        - http://ispot.org.uk/
        - http://ispot-approval.open.ac.uk/
        - http://ispot-dev.open.ac.uk/
        - http://ispot/
    default_locale: en-GB

#
# Fixes.
#
a[href = '#'], a[href = 'javascript:void(0)'], .rpx-icon-small:
    role: button
    tabindex: 0

a[target='_blank']:
    title: Opens in new window

"#header":
    role: header

"#main-menu":
    role: navigation
    aria-label: Site menu

"#footer":
    role: contentinfo

.block-search:
    role: search

input#edit-search-block-form-1:
    placeholder: Search iSpot
    required: true

input#edit-name, input#edit-pass:
    required: true

img#fb-connect-button:
    role: button
    tabindex: 0
    title: Connect with Facebook
    aria-label: Connect and login via Facebook

.jcarousel-prev[disabled = 'disabled'], .jcarousel-prev-disabled, .jcarousel-next-disabled:
    role: ""
    tabindex: ""
    title: ""

.jcarousel-prev[disabled = 'false'], .jcarousel-prev:
    role: button
    tabindex: 0
    title: Previous

.jcarousel-next[disabled = 'false'], .jcarousel-next:
    role: button
    tabindex: 0
    title: Next

img#tosl-logo:
    aria-label: The OpenScience Laboratory, opens in a new window

img#ou-logo:
    aria-label: The Open University, opens in a new window


#
# "ispot_2013" theme.
#
header:
    role: header

footer:
    role: contentinfo

.navbar-nav:
    role: navigation
    aria-label: Main iSpot menu

"#user-block, #block-menu-menu-administration, #block-menu-menu-ispot-admin":
    role: navigation

"#search-block-form":
    ##block-search-0
    role: search


...
Advertisement