department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
98 stars 69 forks source link

UX discovery: Phone numbers in rich text fields #1964

Closed kevwalsh closed 1 year ago

kevwalsh commented 4 years ago

User story

As an editor, i want to make phone numbers added to a rich text field clickable and accessible, per the content style guide

"As an editor I can put in a phone number in a rich text area and 'it just works'"

Context

Editors struggle with...

Constraints

VA.gov content guidelines for phone numbers:

Problem statement

  1. The VA.gov standards for accessible phone numbers are admirably high, originally designed for product teams who write phone numbers in code
  2. There are X thousand phone numbers added to rich text fields in CMS.
  3. The current rich text editor used by 100s of CMS editors does not make it easy for editors meet this standard, and some rely on an XLS spreadsheet to help them write good phone number href tags and then paste into the source of the rich text editor.

How might we make it easier for editors to add accessible phone numbers?

Etc.

Worth doing an analysis of how others have handled this with CKeditor

Dave: the FE has the ability (as I understand it) to put a 'filter' on text to essentially detect phone numbers and render them correctly during the build. However I think this may fail when it comes to including extensions. See Slack thread for more context

Need to consider SMS and other "actionable numbers" -- how can we move away from reliance on the FE to render numbers this way?

Related epic: https://github.com/department-of-veterans-affairs/va.gov-cms/issues/7963

ACs

EWashb commented 2 years ago

Removed CKeditor5 as a blocker since there may be more dependencies to that implementation. The solution for this issue does not need to solely rely on CKeditor

rachel-kauff commented 2 years ago

4/26 Process definition -- Focus for Sprint 57 --

--- Will spill into Sprint 58:---

Decisions

laflannery commented 1 year ago

Editor Advanced link This is definitely a viable option for helping with phone numbers Works with D10 and CKeditor 5

laflannery commented 1 year ago

Closing this in favor of more recent tickets and direction