Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21274

Info buttons lack contrast

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 15.8-rc-1
    • 15.7
    • Flamingo Theme
    • Unknown
    • N/A
    • Pull Request accepted
    • 1.4.3 Contrast (Minimum)

    Description

      Reproduction steps:

      Create a page with the following content:

      {{html}}
      <!-- Standard button -->
      <button type="button" class="btn btn-default">Default</button><!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
      <button type="button" class="btn btn-primary">Primary</button><!-- Indicates a successful or positive action -->
      <button type="button" class="btn btn-success">Success</button><!-- Contextual button for informational alert messages -->
      <button type="button" class="btn btn-info">Info</button><!-- Indicates caution should be taken with this action -->
      <button type="button" class="btn btn-warning">Warning</button><!-- Indicates a dangerous or potentially negative action -->
      <button type="button" class="btn btn-danger">Danger</button><!-- Deemphasize a button by making it look like a link while maintaining button behavior -->
      <button type="button" class="btn btn-link">Link</button>
      {{/html}}

      Open firefox debugger, go to the accessibility tab and select contrast in the top right "check for issue" select field.

      Expected:
      No error are raised

      Actual:
      An error is raised for the contrast of the info button

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: