W3C home > Mailing lists > Public > public-aria@w3.org > May 2016

Re: The use of aria-readonly on contenteditable elements

From: Amelia Bellamy-Royds <amelia.bellamy.royds@gmail.com>
Date: Mon, 9 May 2016 15:38:37 -0600
Message-ID: <CAFDDJ7zJnmb9iVs-GPRVK605VQtvAJ=pKJr66E6=zsstZM7pxw@mail.gmail.com>
To: Matt King <a11ythinker@gmail.com>
Cc: Joanmarie Diggs <jdiggs@igalia.com>, ARIA Working Group <public-aria@w3.org>
For what it's worth, the general HTML rules for interactive content within
an editable element seem rather unclear.

I couldn't find any rules in the HTML spec, but based on browser testing a
button still receives a click event, but a clicked link is not
followed  (same results in Firefox, Chrome, and Edge).  Demo in JSBin:

However, you are certainly correct that visual users get all the other
semantic hints (layout, font, size, color) of the markup, regardless of
it's editable state.

On 9 May 2016 at 15:18, Matt King <a11ythinker@gmail.com> wrote:
> If content is editable but not in edit mode, you really don’t have a
> textbox; you have semantic content. Screen reader users should be able to
> read it like any other content … everyone else can, right? They should be
> able to follow a link, right? Can’t everyone else do so? Or, are links
> inside of contenteditable broken for everyone?
Received on Monday, 9 May 2016 22:44:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:58:26 UTC