Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
To help author more accessible content (according to ATAG 2.0) adding specific documentation on D8's accessibility will help people learn what is. In ATAG A.4.2 they outline in more detail best practices in "document the user interface, including all accessibility features."
So on the help pages here /admin/help/telephone we could add a section at the bottom, something like:
<h3>Accessibility</h3>
<p>Drupal 8 comes with the HTML5 telephone field which provides a semantic means to convey phone numbers to mobile devices and assistive technology devices.</p>
I expect that there are more elements that can be included.
Comment | File | Size | Author |
---|---|---|---|
#8 | document-atag-telephone-2308581-8.patch | 1.44 KB | mgifford |
#3 | document-atag-telephone-2308581-3.patch | 1.47 KB | mgifford |
Comments
Comment #1
jhodgdonHmmm... Take a look at the existing function telephone_help(), and consider the "About" / "Uses" structure of help. I do not think this section makes sense to add as suggested...
It sounds like the right thing to do would be to change the "Displaying telephone numbers as links" section in Uses, which currently says:
Telephone numbers can be displayed as links with the scheme name tel: by choosing the Telephone display format on the Manage display page. Any spaces will be stripped out of the link text.
Maybe adding this at the end:
This display format provides a semantic means to convey phone numbers to mobile devices and assistive technology devices.
Thoughts?
Comment #2
mgiffordThat would be fine as a mechanism to convey the accessibility improvements. It's pretty brief so having a whole section on this module would probably be overkill.
Comment #3
mgiffordI think that much of it can be done simply by extending the existing description a bit.
Comment #4
jhodgdonThis looks fine to me.
However, see #2202925: Move simple field types into Core/Field, which is most likely getting rid of this module entirely...
Comment #5
mgiffordShould we postpone this for now?
Comment #6
jhodgdonPossibly... not sure if that other patch is going to go in or not. Let's leave that for another core maintainer to decide.
Comment #7
alexpottThis semantic markup to convey phone numbers will provide more convenient access to mobile devices and assistive technology devices
seems a mouthful. Why not justThis semantic markup improves the user experience on mobile and assistive technology devices
?Comment #8
mgiffordNice suggestion. I rerolled the patch.
Comment #9
yannickooLooks good to me :)
Comment #10
alexpottCommitted d63702c and pushed to 8.0.x. Thanks!