Sha256: 71d79838a33b19afb9e56ee13593f07781726b45a00943319ef1a813934dfb98

Contents?: true

Size: 933 Bytes

Versions: 236

Compression:

Stored size: 933 Bytes

Contents

module GovukPublishingComponents
  module SharedAccessibilityCriteria
    def self.link
      "
Links in the component must:

- accept focus
- be focusable with a keyboard
- be usable with a keyboard
- indicate when they have focus
- change in appearance when touched (in the touch-down state)
- change in appearance when hovered
- be usable with touch
- be usable with [voice commands](https://www.w3.org/WAI/perspectives/voice.html)
- have visible text
- have meaningful text
      "
    end

    def self.button
      "
Buttons in the component must:

- accept focus
- be focusable with a keyboard
- be usable with a keyboard
- indicate when they have focus
- change in appearance when touched (in the touch-down state)
- change in appearance when hovered
- be usable with touch
- be usable with [voice commands](https://www.w3.org/WAI/perspectives/voice.html)
- have visible text
- have meaningful text
      "
    end
  end
end

Version data entries

236 entries across 236 versions & 1 rubygems

Version Path
govuk_publishing_components-49.1.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-49.0.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-48.0.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-47.0.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-46.4.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-46.3.1 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-46.3.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-46.2.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-46.1.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-46.0.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-45.10.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-45.9.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-45.8.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-45.7.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-45.6.1 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-45.6.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-45.5.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-45.4.1 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-45.4.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb
govuk_publishing_components-45.3.0 app/models/govuk_publishing_components/shared_accessibility_criteria.rb