-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix for critical screen reader issues, some accessibility enhancements #249
base: master
Are you sure you want to change the base?
Conversation
Release 57dc373 deployed at https://pcns-dev-pr-249.apps.silver.devops.gov.bc.ca |
@@ -10,6 +10,6 @@ const { title } = defineProps<{ | |||
<template> | |||
<div class="col-span-12 mb-4 flex items-center"> | |||
<h4 class="flex-none m-0 pr-4">{{ title }}</h4> | |||
<Divider /> | |||
<Divider aria-hidden="true" /> |
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.
Do we want to wrap this component into our own to ensure accessibility requirements aren't missed in the future? It appears numerous times in this PR.
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'll make the switch. We'll still need to make sure devs remember to use the our wrapper version instead of the primevue lib.
ef66d29
to
5cf1401
Compare
> | ||
{{ slotProps.item.text }} | ||
</div> | ||
<div | ||
v-if="slotProps?.item?.iconClass == 'previous'" |
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.
not sure if it's dumb, but can we have constants declared and check it here? for previous, empty and current?
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.
The div with the v-if v-else-if stuff is making me wonder if the actual content values inside the div should be yielded as a computed or function instead and put in as a template string, instead of remounting the entire div object - it seems like all the other div attributes are basically identical otherwise.
<h1 class="mb-0"> | ||
Welcome to the | ||
<br /> | ||
Permit Connect Services | ||
</h1> |
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.
Is this something that needs to be in i18n?
> | ||
{{ slotProps.item.text }} | ||
</div> | ||
<div | ||
v-if="slotProps?.item?.iconClass == 'previous'" |
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.
The div with the v-if v-else-if stuff is making me wonder if the actual content values inside the div should be yielded as a computed or function instead and put in as a template string, instead of remounting the entire div object - it seems like all the other div attributes are basically identical otherwise.
Looking great! One small change I'd like to suggest:
|
Description
Updated header and navbar to streamline screenreader flow
Updated submission and enquiry intake forms to have proper section headings, proper stepheader buttons
Updated permits detailed page to read out correct statuses
Fix beginning splash page header to read as one sentence
Added alt text to proponent tables
Remove dividers from being read out by screen reader.
PADS-311
Types of changes
New feature (non-breaking change which adds functionality)
Checklist
Further comments