Re: keyboard focus questions regarding a news site

On 05/01/2022 19:49, Char Easter wrote:

> *Question 1: Focus order *
> 
> On a journalism news site, can there be an exception to the left to 
> right focus order rule

There is no "left to right" rule. Focus order needs to make sense, and 
does not necessarily need to follow the visual layout (within reason).

> *Question 2: Alt text and focus target*
> 
> I am looking for clarity on the relationship or interdependencies 
> between focus order and screen readers, specifically for images with a 
> headline. Can the image and headline be grouped as a single focus target 
> and not impact the image alt text being read by screen readers?

Of course they can all be part of a single focusable link or control, 
but note that once that receives focus, everything inside it will be 
announced by screen readers, so make sure it's not too wordy I'd say.

> And just to confirm, the image does not need to be in 
> focus to have the alt text read.

This to me suggests that you're unfamiliar with screen readers? Just 
noting that it's fairly easy to test this sort of stuff out for 
yourself, as nowadays there's screen readers that come with the 
operating systems / good free screen readers that you can install.

But in short yes, text alternatives will be announced when a SR user 
navigates through the page with reading keys (they don't just 
tab/shift+tab between focusable controls).

P
-- 
Patrick H. Lauke

https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke

Received on Wednesday, 5 January 2022 20:59:29 UTC