Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

added main benchmark to all pages, labeled all footer buttons, labele… #1005

Merged
merged 5 commits into from Jul 8, 2020
Merged

added main benchmark to all pages, labeled all footer buttons, labele… #1005

merged 5 commits into from Jul 8, 2020

Conversation

dos077
Copy link
Contributor

@dos077 dos077 commented Jun 2, 2020

Fixes

Fixes #999 by @brenoferreira

Description

Change the main divs in all pages to the

tag for benchmarks.
Added aria labels to all footer icons.
Labeled the header as primary and footer as footerlinks for uniqueness.
Change the nested in the to
so benchmarks are not nested.

Technical details

Tests

Screenshots

Checklist

  • My pull request has a descriptive title (not a vague title like Update index.md).
  • My pull request targets the master branch of the repository.
  • My commit messages follow best practices.
  • My code follows the established code style of the repository.
  • I added tests for the changes I made (if applicable).
  • I added or updated documentation (if applicable).
  • I tried running the project locally and verified that there are no
    visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.


Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@dos077 dos077 requested review from a team and kgodey and removed request for a team June 2, 2020 23:23
@kgodey kgodey added this to In Progress (Community) in Active Sprint Jun 3, 2020
Copy link
Contributor

@ayanchoudhary ayanchoudhary left a comment

Choose a reason for hiding this comment

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

Also, I think aria-labels should be lowercase. deferring to @akmadian for further suggestions.

@@ -71,14 +71,14 @@
</div>
</div>
<div class="column">
<aside class="donate-section">
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess it would be better to leave the markup of this tag to be aside itself since it follows the rules of good HTML semantics and also helps in improving accessibility.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed that because OP's csv file reported this issue:https://dequeuniversity.com/rules/axe/3.3/landmark-complementary-is-top-level

I've seen aside used in main all the time, but this aside seems to be contained in a column

. Since there's already a container grid structure, I think the aside tag is out of place. It's not a big issue, I will change it back.

I am not that familiar with aria-labels, usually framework handles it, glad you point out my inconsistency, I will change them lower cases and maybe tighten up the naming as well.

@dos077 dos077 requested a review from a team June 7, 2020 03:10
@zackkrida
Copy link
Contributor

@ayanchoudhary could you re-review this this week? I'll merge once you approve; thanks!

Copy link
Contributor

@ayanchoudhary ayanchoudhary left a comment

Choose a reason for hiding this comment

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

Looks good :) @zackkrida I guess this is ready to be merged

@zackkrida zackkrida merged commit 008c75b into cc-archive:develop Jul 8, 2020
Active Sprint automation moved this from In Progress (Community) to Done Jul 8, 2020
@TimidRobot TimidRobot removed this from Done in Active Sprint Jan 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Improve elements markup
3 participants