-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Team Page #4125
Feature: Team Page #4125
Conversation
This is still a WIP - but I'm open for early feedback https://odin-review-app-pr-4125.herokuapp.com/team |
Good spot, thanks @ManonLef 💪 |
dc9b3a5
to
2660508
Compare
c8b5e40
to
8108587
Compare
8108587
to
69777d7
Compare
69777d7
to
43a851c
Compare
43a851c
to
d46c24a
Compare
d46c24a
to
72f58e5
Compare
72f58e5
to
6e7ee88
Compare
6e7ee88
to
097b219
Compare
The team footer link has been removed so this can be merged without all the team data populated first. We'll then do small follow up PR's adding everyone to the team yaml file. To access the page on the review app, you can go directly to the team page url: https://odin-review-app-pr-4125.herokuapp.com/team |
Copy pasting some feedback from Discord:
<h3 id="some-id-1">
...
<a aria-labelledby="some-id-1 some-id-2" id="some-id-2" aria-label="Twitter">
...
<span class="sr-only" aria-hidden="true"> |
Thanks @thatblindgeye, I have points 1 and 3 done. For labelling the ul elements, is that a common thing? I haven't seen that before, but I'd love to read up on it more if you have any suggested resources? I've only really seen role and listitem used in regards to non typical lists and accessibility. |
3c44425
to
012c907
Compare
Maybe a bit late, especially considering this PR being open as well... But I might think the rounding is a bit too much. |
I edited the first card on the homepage to be |
012c907
to
2591c72
Compare
Thanks for the feedback @manon, putting them side by side, I prefer the larger border radius on this page. It has a better fit and feel imo. Although, I think you're right about I've kicked off a deploy so you can have a play? |
Good spot 🦅 👁️ I tweaked the top padding, member cards with no social links were looking a bit top heavy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've got one question in a few places, other than that looks awesome, killer work on this 💪
|
||
<% if team_member.socials.any? %> | ||
<ul | ||
aria-labelledby="List of <%= team_member.name %> social links <%= team_member.socials.size %> items" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be aria-label
rather than aria-labelledby
since we're passing a description rather than an id?
</div> | ||
|
||
<ul | ||
aria-labelledby="<%= role %> list, <%= t("team_members.#{role}.members").size %> members" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same labelledby
vs label
question here.
</div> | ||
|
||
<ul | ||
aria-labelledby="<%= role %> team list, <%= t("team_members.#{role}.members").size %> members" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here.
2591c72
to
64230fe
Compare
Thanks @wise-king-sullyman, I got those changed over. The feedback is much appreciated mate. I really need to brush up on accessibility 😅 |
Haha pretty much all credit for any a11y knowledge I have goes to @thatblindgeye |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 🔥 🔥
64230fe
to
6d6cc87
Compare
Because: * TheOdinProject/top-meta#3 * Replaces the [hall of fame on the contributing page](http://theodinproject.com/contributing) This commit: * Adds a team locales file where team member details will live * Divides the page into the team role structure we have within TOP. * Adds an alumni section for former team members. * Adds a smooth scroll anchor links for easier navigation between roles.
6d6cc87
to
34f3bc4
Compare
@KevinMulhern I don't have any resources on hand at the moment, but essentially by providing a label:
|
Because:
This commit: