-
Notifications
You must be signed in to change notification settings - Fork 2
Distinguish samey links with aria attributes #455
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| {% load static %} | ||
| {% load component_tags %} | ||
|
|
||
| <div class="flex max-lg:flex-col gap-8 lg:flex-row lg:flex-wrap justify-around"> | ||
| <ul class="flex max-lg:flex-col gap-8 lg:flex-row lg:flex-wrap justify-around"> | ||
| {% slot "content" default %}{% endslot %} | ||
| </div> | ||
| </ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| {% load component_tags %} | ||
|
|
||
| <div class="lg:max-xl:w-52 xl:w-64 flex flex-col gap-y-8 items-center justify-between"> | ||
| <li class="lg:max-xl:w-52 xl:w-64 flex flex-col gap-y-8 items-center justify-between"> | ||
| {% slot "content" default %}{% endslot %} | ||
| </div> | ||
| </li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| {% load component_tags %} | ||
|
|
||
| <div class="max-xl:w-52 xl:w-64 flex flex-col gap-y-4 max-lg:items-center lg:items-start justify-between"> | ||
| <li class=" | ||
| max-xl:w-52 xl:w-64 | ||
| flex flex-col gap-y-4 max-lg:items-center lg:items-start justify-between | ||
| "> | ||
| {% slot "content" default %}{% endslot %} | ||
| </div> | ||
| </li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,9 @@ | ||
| {% load component_tags %} | ||
|
|
||
| {% if h %} | ||
| <h2 id="{{ h|slugify }}" class="name font-poppins-bold text-3xl py-8 max-md:text-center"> | ||
| {{ h }} | ||
| </h2> | ||
| {% endif %} | ||
| <div class="flex max-md:flex-col md:flex-row md:flex-wrap gap-y-20 md:-mx-6"> | ||
| <ul class="flex max-md:flex-col md:flex-row md:flex-wrap gap-y-20 md:-mx-6"> | ||
| {% slot "items" default %} | ||
| {% for item in news_items %} | ||
| {% component "news_list_item" item=item %} | ||
| {% component "news_list_item" item=item include_tags=include_tags h_level=h_level %} | ||
| {% endfor %} | ||
| {% endslot %} | ||
| </div> | ||
| </ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see view_all_bar.html comment. The label being passed to view_all_bar doesn't seem to match what is being put on the page by that component. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Something's not right here. The view all bars on the announcements-blog page are not being described in a way that tells me where that link goes.
What I get is:
Read our news section
Hear our ideas section
News from our journals section
I think the complementary comes from it being an 'aside'. But this isn't an aside, it is part of the section as above - if it could be in that section, then it should read out that landmark instead of 'complementary' which could be enough not to need more description. However I do think the names need to be different (i.e. announcement, blog, do not give enough context for user to know where they are going).
I don't think that is is what is being passed in by
announcements-blog.htmlThere 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.
Great catch--there was a bug and a less than ideal use of
asidehere, and I've fixed both.