Skip to content

Minor style issues #8

Description

@ihalaij1

A+ submit buttons should include a HTML class aplus-submit, so that the accessibility highlighting works correctly for these buttons.

Additionally, the Submit button should not be inside a <p> element, because it adds extra margin below the button.

<p><%= submit_tag t('submissions.new.submit_button'), :class => 'btn btn-primary' %></p>

The yellow margin should be removed by wrapping the Submit button in a <div> instead.
Image

The button should become fully yellow when navigating to it using the Tab key if the aplus-submit HTML class is added.
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions