Re: [libreoffice-accessibility] How to write a mail address on a web page?

2024-10-16 Thread Michael Weghorn

Hi Regina,

On 2024-10-15 11:40, Regina Henschel wrote:
It is not quite clear to me. We want a link including the protocol, so 
that a click opens that application, that the user has assigned to the 
"mailto:"; protocol.


Can we do
(1)
Chair: Patrick Durusau

and have the text "Patrick Durusau" as link with target 
"mailto:[email protected]";


(2)
Chair: Patrick Durusau
[email protected]

and have the text "[email protected]" as link with target 
"mailto:[email protected]";


(3)
Chair: Patrick Durusau
mailto:[email protected]

and have the text "mailto:[email protected]"; as link with target 
"mailto:[email protected]";


(4)
or ???

What is best for page visitors that use a screen-reader, for example?

Or is the approach to have a link with "mailto:"; protocol already 
unsuitable?


In my understanding, using a mailto: link is perfectly fine.
The link text should be descriptive, i.e. make clear what happens when 
the user follows the link - which is helpful for people not relying on 
assistive technology as well.


There's no need to have the link text be the same as the target, so I 
wouldn't use (3). I think, both (1) and (2) should be fine.


(2) would in my opinion be a bit more straight-forward because for (1), 
a link might alternatively e.g. also point to a website saying more 
about Patrick Durusau instead of allowing to write him an email.
However, screen readers usually also have a way to give more details on 
the currently focused object (like a link), and e.g. Orca's "Where am I" 
command would say something like "mailto link, email link" when used 
while a mailto link is currently focused, regardless of the link text.


Having a link text like "Write an email to Patrick Durusau" might be yet 
another alternative.


I'm not an expert on those, but the Web Content Accessibility Guidelines 
(WCAG) and the corresponding "Understanding" docs give more details on 
how to make web content accessible.


In particular for links:
https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-in-context.html

WCAG overview:
https://www.w3.org/WAI/standards-guidelines/wcag/

"Understanding" docs:
https://www.w3.org/WAI/WCAG22/Understanding/

Kind regards,
Michael

--
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/accessibility/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-accessibility] How to write a mail address on a web page?

2024-10-15 Thread Regina Henschel

Hi Susanne,

Susanne [LO] schrieb am 15.10.2024 um 08:27:

Hi Regina,

can this help you?
https://www.barrierefreiheit-dienstekonsolidierung.bund.de/Webs/PB/DE/gesetze-und-richtlinien/wcag/wcag-artikel.html

E-Mail Adresses have the same "layout"  as web Adresses.
The Text says this: E-Mail address from Susanne
And the hyperlink: [email protected]



It is not quite clear to me. We want a link including the protocol, so 
that a click opens that application, that the user has assigned to the 
"mailto:"; protocol.


Can we do
(1)
Chair: Patrick Durusau

and have the text "Patrick Durusau" as link with target 
"mailto:[email protected]";


(2)
Chair: Patrick Durusau
[email protected]

and have the text "[email protected]" as link with target 
"mailto:[email protected]";


(3)
Chair: Patrick Durusau
mailto:[email protected]

and have the text "mailto:[email protected]"; as link with target 
"mailto:[email protected]";


(4)
or ???

What is best for page visitors that use a screen-reader, for example?

Or is the approach to have a link with "mailto:"; protocol already 
unsuitable?


Kind regards,
Regina

--
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/accessibility/
Privacy Policy: https://www.documentfoundation.org/privacy