Accessify Wiki
Advertisement

Portal to public service information from the UK Government, including directories, online services, news and information of relevance to specific groups.

This government web site is already fairly accessible. You will find some fixes and enhancements below.


%YAML 1.2
---
_CONFIG_:
    include:
        - https://www.gov.uk/*
    test_urls:
        - https://www.gov.uk/browse/disabilities/rights
        - https://www.gov.uk/government/publications/state-of-the-nation-2013
        - https://www.gov.uk/contact/govuk
        - http://epetitions.direct.gov.uk/search?q=Access
        - http://epetitions.direct.gov.uk/petitions/46455
        - https://submissions.epetitions.direct.gov.uk/petitions/46455/signature/new

    global_rank: 2491   # Alexa; UK rank: 79.
    default_locale: en-GB
    created: 2014-01-28

#
# Fixes.
#
header:
    role: banner

form.site-search:
    role: search

"#global-breadcrumb ol":
    _note: ERROR - role=breadcrumb is not valid WAI-ARIA.
    role: navigation

main:
    role: main

"footer, #footer":
    role: contentinfo

.header-proposition nav:
    role: navigation
    aria-labelledby: .header-proposition a.menu

.contact-form:
    role: form
    aria-label: Contact

".contact-form #textdetailscounter":
    aria-live: polite
    aria-atomic: false

input.email:
    _note: ERROR - could be improved.
    type: email


#
# Epetitions.
#
.search_form:
    role: search
    aria-label: Search e-petitions

.petition_view, .petition_index_view:
    role: main

.pagination:
    role: navigation
    aria-label: Search result pages

...
Advertisement