Skip to content
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

Accessibility swarm on the Script Link component #4180

Closed
1 task
DenisHdz opened this issue Sep 30, 2019 · 17 comments
Closed
1 task

Accessibility swarm on the Script Link component #4180

DenisHdz opened this issue Sep 30, 2019 · 17 comments
Assignees
Labels
a11y-swarm An a11y swarm (clarify dev or full team in the desc) needs to be carried out before moving to test ux To be reviewed by UX before merging

Comments

@DenisHdz
Copy link
Contributor

DenisHdz commented Sep 30, 2019

Is your feature request related to a problem? Please describe.
Carry out a two devs accessibility swarm for the ScriptLink component.

Describe the solution you'd like
Go through this checklist and fix any issue we might face.

Describe alternatives you've considered
N/A

Testing notes
[Tester to complete]

Dev insight: Will there be any potential regression? etc

  • This feature is expected to need manual testing.

Additional context
Add any other context or screenshots about the feature request here.

@DenisHdz
Copy link
Contributor Author

Blocked on BBC-archive/psammead#2255

@DenisHdz
Copy link
Contributor Author

DenisHdz commented Oct 9, 2019

Unblocked on BBC-archive/psammead#2255

@DenisHdz
Copy link
Contributor Author

DenisHdz commented Oct 9, 2019

❓ = Not done
✅ = Done, pass
❌ = Done, fail
👀 = Review with UX

Checklist - Manual

  • Design ✅

  • Color contrast ✅

  • Color blindness ✅

  • High Contrast mode PC ✅

  • Color preferences changed in Firefox ✅

  • Text resized to 200% ✅

  • Page zoomed to 200% ✅

  • Heading order

  • Icons

  • Keyboard navigation: tab order, focus css, trace tab path ✅

  • aXe ✅

  • No CSS ✅

  • No Javascript ✅

  • bbc-a11y ✅

Checklist - Assistive Technology

Acceptance criteria:

❌Given I use a screen reader
When navigating through the banner landmark on a front page with a script link
Then the script link must be announced after the ‘skip to content’ link


✅Given I use a screen reader
When I navigate to the script link
Then the text should be announced (E.g.  "Simplified” or “Traditional”, “Latin” or “ Cyrillic”)
And this should be identified as a link


✅Given I use a keyboard only
When I navigate to the script link by pressing the TAB key
Then this must have visible state change on focus 
And this must not be identified by colour alone
And be in addition to the browser default focus outline styling
And this must be visible in a custom mode when viewing in high contrast mode on PC

✅Given I view the script link in GEL Group B and C
And I tap on the link
Then touch targets must be large enough to touch accurately 
And it must have a width and height of 44px as a minimum

✅Given I view the script link in GEL Group D (and A when appropriate)
When I tap on the link
Then touch targets must be large enough to touch accurately 
And it must have a width and height of 32px as a minimum
  • VoiceOver OS (Mac) (Screen Reader) ✅

    With Safari (Latest Version) on Mac OS (Latest Version)

  • VoiceOver iOS (iPhone/iPad) (Screen Reader) ✅

    Latest Version with Safari (Latest Version) on iOS (Latest Version)

  • TalkBack (Screen Reader) ✅

    Latest Version with Chrome (Latest Version) on Android (Latest Version)

  • ZoomText (Screen Magnifier with Screen Reader capabilities) ✅

    Latest Version with Internet Explorer 11 on Windows (XP/Vista/7/8/10)

  • Dragon Naturallyspeaking (Speech Recognition) ✅

    Version 13 with Internet Explorer 11 on Windows (XP/Vista/7/8/10)

  • JAWS (Screen Reader) ✅

    Version 17 with Internet Explorer 11 on Windows (XP/Vista/7/8/10)

  • Read&Write (Reading Solution) ❌

    Latest Version with Internet Explorer 11 on Windows (XP/Vista/7/8/10)

  • NVDA (Screen Reader) ✅

    Latest Version with Firefox (Latest Version) on Windows (XP/Vista/7/8/10)

@DenisHdz DenisHdz changed the title Accessibility swarm on the Script Switch component Accessibility swarm on the Script Link component Oct 9, 2019
@DenisHdz DenisHdz transferred this issue from BBC-archive/psammead Oct 9, 2019
@DenisHdz DenisHdz added a11y-swarm An a11y swarm (clarify dev or full team in the desc) needs to be carried out before moving to test ws-frontpage-stream ux To be reviewed by UX before merging labels Oct 9, 2019
@DenisHdz DenisHdz added this to the Script Link (WS FP) milestone Oct 9, 2019
@amywalkerdev
Copy link
Contributor

Needs #2454 to be done then we can do an a11y swarm

@ghost ghost self-assigned this Oct 30, 2019
@ghost
Copy link

ghost commented Oct 31, 2019

The ScriptLink overlaps Brand. Breakpoints < 332

Screenshot 2019-10-31 at 13 00 56

@ghost ghost removed their assignment Nov 14, 2019
@DenisHdz DenisHdz self-assigned this Nov 25, 2019
@Bopchy Bopchy self-assigned this Nov 27, 2019
@Bopchy
Copy link

Bopchy commented Nov 28, 2019

Currently, when navigating through the banner landmark on a front page with a script link, the script link is announced before the ‘skip to content’ link. This will be fixed in BBC-archive/psammead#2713 , such that the script link is announced after the ‘skip to content’ link

@DenisHdz
Copy link
Contributor Author

DenisHdz commented Nov 28, 2019

To be consistent with the Nav menu button styling, UX has requested to update the ScriptLink hover/focus state BBC-archive/psammead#2685.

@DenisHdz
Copy link
Contributor Author

The Skip to content link is not well located in IE.

skip-to-content

This has been fixed in BBC-archive/psammead#2680

@Bopchy
Copy link

Bopchy commented Nov 28, 2019

#4180 (comment) was fixed in BBC-archive/psammead#2534

@Bopchy
Copy link

Bopchy commented Dec 3, 2019

BBC-archive/psammead#2751 was discovered during the swarm. This will be fixed in BBC-archive/psammead#2750

BBC-archive/psammead#2750 also adjusts the height, line-height and padding of the ScriptLink for @media (min-width: 400px)

@tochwill tochwill self-assigned this Dec 4, 2019
@tochwill
Copy link
Contributor

tochwill commented Dec 4, 2019

I've got the devices in the office, will finish these checks off now

@tochwill
Copy link
Contributor

tochwill commented Dec 4, 2019

I have completed the rest of the assistive technology checks - text is announced as 'Lat' rather than 'Latin' as in the acceptance criteria (as the text written is 'Lat'), so will check if this is OK. I am unable to get Read&Write to speak the text on either IE11 or Chrome, so will look further into this as well.

@ghost
Copy link

ghost commented Dec 4, 2019

I guess it is because it is not wrapped in a container with aria-hidden attribute. In the storybook we could have

<ScritpLink>
  <span aria-hidden='true'> Lat </span>
   <VisuallyHiddenText> Latin </VisuallyHiddenText>
</ScriptLink>

@tochwill
Copy link
Contributor

tochwill commented Dec 4, 2019

I guess it is because it is not wrapped in a container with aria-hidden attribute. In the storybook we could have

<ScritpLink>
  <span aria-hidden='true'> Lat </span>
   <VisuallyHiddenText> Latin </VisuallyHiddenText>
</ScriptLink>

This works :)

@tochwill
Copy link
Contributor

tochwill commented Dec 4, 2019

Read&Write is not reading the script link on IE11 on windows. On Chrome, on hovering over the script link, all of the content of the Brand component is read. A javascript error is then thrown by the browser extension, and the link is not read again on a second hover.

Screenshot 2019-12-04 at 17 47 33

@ghost
Copy link

ghost commented Dec 23, 2019

Read & write issue fixed in BBC-archive/psammead#2833

@DenisHdz
Copy link
Contributor Author

This can be closed since all the issues/bugs have been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y-swarm An a11y swarm (clarify dev or full team in the desc) needs to be carried out before moving to test ux To be reviewed by UX before merging
Projects
None yet
Development

No branches or pull requests

4 participants