Skip to content

[UI component]: Footer h4 semantics#1183

Merged
maya merged 9 commits into
18f-pages-stagingfrom
footer-h4-semantics
May 24, 2016
Merged

[UI component]: Footer h4 semantics#1183
maya merged 9 commits into
18f-pages-stagingfrom
footer-h4-semantics

Conversation

@rogeruiz

@rogeruiz rogeruiz commented May 23, 2016

Copy link
Copy Markdown
Contributor

Description

This PR contains the work done by @madmanlear on #1150 rebased onto 18f-pages-staging with the correct number of file changes. This PR removes the dist/ and docs/ directory commits that were necessary when the original commits were made.

Additional Information

@madmanlear, feel free to review the commits here and branch off this branch to offer any new additional changes as needed. Or you can follow the instructions on #1150 around rebasing and removing the dist/ and docs/ directories.

Original comment from @madmanlear

Link lists in the big footer included an h4 as a direct child of a ul, and this is not allowed.

  • Wrapped footer h4 in li to comply with semantics
  • Updated styles to suit

Resolves issue #794

Comment thread src/stylesheets/components/_footer.scss Outdated
background-position: 1.5rem center;
background-repeat: no-repeat;
background-size: 1.3rem;
margin: 0;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this can be margin-left: 0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in a7e8b2c.

@maya maya changed the title [Website] & [UI component]: Footer h4 semantics [UI component]: Footer h4 semantics May 23, 2016
@rogeruiz rogeruiz assigned msecret and unassigned maya May 24, 2016
@msecret

msecret commented May 24, 2016

Copy link
Copy Markdown
Contributor

I'm OK with this change for now, although I think we need to refactor the footer code in the future.

@maya maya merged commit 9814762 into 18f-pages-staging May 24, 2016
@maya maya deleted the footer-h4-semantics branch May 24, 2016 18:09
@maya maya mentioned this pull request May 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants