- Status changed to Needs work
almost 2 years ago 4:11pm 18 February 2023 - ๐บ๐ธUnited States smustgrave
Some more background I believe the violation being reported is a AAA issues where the heading structure should follow
H1
- H2
--H3Currently is
H1
-H3Moving to NW
Since this changes the UI though I think a class or something should be added to add some of the styling back. Would see if olivero already has one.
Also will need before/after screenshots added to the issue summary under user interface section as this potentially changes the UI.
Thanks!
- First commit to issue fork.
- Merge request !4199Issue #3182458: search results "empty" message: remove heading โ (Closed) created by dmundra
- last update
over 1 year ago Fetch Error - ๐บ๐ธUnited States dmundra Eugene, OR
I created a new merge request targeting 11.x branch. Added wcag2410 tag. I will add screenshots next.
I couldn't find a class in Oliverio to use and I am not sure one is needed. If we made the styling look like a header again it could be confusing.
- Status changed to Needs review
over 1 year ago 10:53pm 16 June 2023 - last update
over 1 year ago 29,499 pass - Status changed to RTBC
over 1 year ago 5:09pm 17 June 2023 - ๐บ๐ธUnited States smustgrave
Reran the tests and seems the issue before was random.
Tested using the https://www.ssa.gov/accessibility/andi/help/install.html tool
And on the search page the heading structure goesh1 - Search for xyz
Nothing in the body now
h2 first item in footer.Since this text isn't signifying a "structure" of the page I think the change is fine.
- ๐จ๐ฆCanada mgifford Ottawa, Ontario
@dmundra - I think it could be SC 2.4.10 but keep in mind that that's a triple-A criteria that "covers sections within writing, not user interface components". And I'd argue that this is part of the user interface.
Looking at https://www.w3.org/TR/WCAG20-TECHS/G141 I think it would be better to put it under SC 1.3.1.
But then it may be more of a best practice anyways https://govtnz.github.io/web-a11y-guidance/wct/headings/make-headings-ac...
I wondered if we could enlarge "Your search yielded no results" rather than just leaving it in the
<p></p>
tag. I liked that it stood out more visually in what would otherwise be a pretty blank page. This is an important message for folks to see, even if semantically it shouldn't be a heading. - ๐บ๐ธUnited States dmundra Eugene, OR
Thanks @smustgrave and @mgifford.
Mike, I figured that 1.3.1 might be a better criteria and thanks for updating that.
I am not sure about enlarging that text and I don't see any similar examples of that in Drupal. One that I can find is on the home page 'You havenโt created any frontpage content yet.' uses
<em></em>
tag, so maybe that would be option.One interesting idea is maybe adding 'no results' to the header or another way for the message to stand out. Maybe we can get input from UX folks.
- Open on Drupal.org โEnvironment: PHP 8.2 & MySQL 8last update
over 1 year ago Waiting for branch to pass - ๐ซ๐ฎFinland lauriii Finland
Tagging for FEFM review to figure out how to deal with the markup change.
- last update
over 1 year ago 29,499 pass - ๐บ๐ธUnited States dmundra Eugene, OR
Mike liked the idea of adding
<em></em>
so I pushed up that change and added a screenshot for that. - last update
over 1 year ago 29,531 pass - last update
over 1 year ago 29,553 pass - last update
over 1 year ago 29,554 pass - Status changed to Needs work
over 1 year ago 4:30pm 28 June 2023 - ๐บ๐ธUnited States bnjmnm Ann Arbor, MI
There's a tricky issue here: because the
<h3>
is added in a controller and not a template, so this markup change is not protected by the Stable 9 theme, yet is exactly the type of change Stable protects against. While it's clearly an accessibility improvement, it's also something that could cause an unexpected regression in a public part of an existing site.If there is a way to preserve the
<h3>
for themes based from Stable 9, then this would be fine. I'm not sure a controller override is an option, but perhaps some JS or Twig cleverness could take care of it? - last update
over 1 year ago 29,801 pass - Status changed to Needs review
over 1 year ago 2:19pm 4 July 2023 - ๐บ๐ธUnited States dmundra Eugene, OR
Got it @bnjmnm. I found that the search results does have a hook
hook_preprocess_item_list__search_results
. I pushed up a commit that adds the stable9.theme file which calls that hook to reset the markup. Would that be an acceptable solution? - Status changed to RTBC
over 1 year ago 2:00pm 6 July 2023 - ๐บ๐ธUnited States smustgrave
Not 100% sure about adding a .theme file now but don't see any other way.
Think the use case is there for adding it but guess since we didn't have one before not sure if it's something purposely been avoid. But lets see!
- last update
over 1 year ago 29,802 pass - last update
over 1 year ago 29,802 pass - last update
over 1 year ago 29,805 pass - last update
over 1 year ago 29,811 pass - last update
over 1 year ago 29,814 pass - last update
over 1 year ago 29,815 pass - last update
over 1 year ago 29,822 pass - last update
over 1 year ago 29,824 pass, 1 fail - last update
over 1 year ago 29,879 pass - last update
over 1 year ago 29,879 pass - last update
over 1 year ago 29,884 pass - last update
over 1 year ago 29,887 pass - last update
over 1 year ago 29,908 pass - last update
over 1 year ago 29,946 pass - last update
over 1 year ago 29,946 pass - last update
over 1 year ago 29,953 pass - last update
over 1 year ago 29,953 pass - last update
over 1 year ago 29,958 pass - Status changed to Needs work
over 1 year ago 11:09am 10 August 2023 - ๐ณ๐ฟNew Zealand quietone
I read the issue summary. The proposed resolution is a choice between two options. Which one is implemented here? There are screenshots as well but they are examples of the options being consider.
I then read the comments. It is good to see discussion about how to solve this. The last suggestion was in #28. Has that solution been implemented or something else?
So, since issue summaries matter โ I am tagging this for an issue summary update and setting to NW.
- ๐บ๐ธUnited States dmundra Eugene, OR
@quietone, I updated the summary (marked the tasks DONE and commented on which solution was implemented). Is that a good update to the summary?
Summary here:
- Implemented the emphasis solution.
- Added code to backport change for Stable 9 theme.
- Status changed to Needs review
over 1 year ago 7:07pm 21 August 2023 - Status changed to RTBC
over 1 year ago 7:16pm 21 August 2023 - ๐บ๐ธUnited States smustgrave
Remarking and removing issue summary update as is was updated in#32 + #33
- last update
over 1 year ago 30,056 pass - last update
about 1 year ago 30,056 pass - last update
about 1 year ago 30,060 pass - last update
about 1 year ago 30,060 pass - last update
about 1 year ago 30,063 pass - last update
about 1 year ago 30,134 pass - ๐ณ๐ฟNew Zealand quietone
@dmundra, thank you!
Nothing added to do since my last comment, leaving at RTBC.
56:37 52:15 Running- last update
about 1 year ago 30,136 pass - last update
about 1 year ago 30,136 pass - last update
about 1 year ago 30,146 pass - last update
about 1 year ago 30,146 pass - last update
about 1 year ago 30,150 pass - last update
about 1 year ago 30,158 pass - last update
about 1 year ago 30,157 pass, 2 fail - last update
about 1 year ago 30,168 pass - last update
about 1 year ago 30,168 pass - last update
about 1 year ago 30,205 pass - last update
about 1 year ago 30,208 pass - last update
about 1 year ago 30,360 pass - last update
about 1 year ago 30,362 pass - last update
about 1 year ago 30,362 pass - Status changed to Needs review
about 1 year ago 5:08pm 27 September 2023 - ๐ซ๐ฎFinland lauriii Finland
I changed to using
\Drupal\Core\Render\Element\HtmlTag
to provide themes with more flexibility to override this.I think it's a good call to add BC for this in Stable because both Olivero and Umami had regressions as a result of this. I tried to address those.
- Status changed to RTBC
about 1 year ago 6:35pm 27 September 2023 - ๐บ๐ธUnited States smustgrave
Thanks for adding those @lauriii, didn't seem to break anything so restoring.
- ๐บ๐ธUnited States dmundra Eugene, OR
Thanks @lauriii. Great changes!
- ๐บ๐ธUnited States dmundra Eugene, OR
Updated screenshots in description.
- ๐บ๐ธUnited States xjm
FWIW, accessibility bugs are listed as one of the very few reasons we will make changes to Stable or Classy within a release, I think that's appropriate too. I'll leave it to them to remove the tag though if/when they sign off on both plan and code. :)
Meanwhile, there are three different issue fork branches, two with MRs and one without. Which is canonical? Please close the non-canonical MRs. (If the non-MR one should be closed, you have to first open an MR and then close it again to get it out of the IS UI.
- Status changed to Needs review
about 1 year ago 2:11pm 29 September 2023 - Open on Drupal.org โEnvironment: PHP 8.2 & MySQL 8last update
about 1 year ago Not currently mergeable. - @dmundra opened merge request.
- ๐บ๐ธUnited States dmundra Eugene, OR
Thank you @xjm. I open and closed the fork branch that had to no MR. This one https://git.drupalcode.org/project/drupal/-/merge_requests/33 I do not have the option to close it, but it can be closed.
- Status changed to RTBC
about 1 year ago 1:07am 30 September 2023 - last update
about 1 year ago 30,360 pass 26:20 24:32 Running- last update
about 1 year ago 30,371 pass - last update
about 1 year ago 30,377 pass - last update
about 1 year ago 30,382 pass - last update
about 1 year ago 30,384 pass - last update
about 1 year ago 30,393 pass - last update
about 1 year ago 30,397 pass - last update
about 1 year ago 30,411 pass - Status changed to Fixed
about 1 year ago 2:59pm 17 October 2023 Automatically closed - issue fixed for 2 weeks with no activity.