From: "T.V Raman" <raman@google.com>
To: kaushal.modi@gmail.com
Cc: help-gnu-emacs@gnu.org, larsi@gnus.org, npostavs@gmail.com,
raman@google.com
Subject: Re: Are there some HTML tags that I can use to make certain blocks auto-hide in eww?
Date: Thu, 27 Sep 2018 08:54:52 -0700 [thread overview]
Message-ID: <23468.64844.870428.426159@retriever.mtv.corp.google.com> (raw)
In-Reply-To: <CAFyQvY0YF_m+3qg9_rLE1STU3j5+f1Xc81QsGDxPP5eqpgjQiQ@mail.gmail.com>
As with everything in browsers, "it depends".
What is guaranteed by the spec: "aria-hidden=true" will hide those
nodes from a screenreader --- it does not guarantee that it will
always hide it from the visual rendering.
The reasons for this are complex and convoluted.
Kaushal Modi writes:
> On Thu, Sep 27, 2018 at 11:48 AM T.V Raman <raman@google.com> wrote:
>
>
> Correct, should work. Just remember that if you want those nodes to
> ever show up in a JS-powered browser, you'll need to set that attr
> to false in the JS code that unhides it -- otherwise it'll just lead
> to differently confusing experiences.
>
>
> But adding aria-hidden=true should hide those elements on non-screen readers like a regular Firefox browser, right? [I know I could have simply tried that.]
--
Id: kg:/m/0285kf1
--
Id: kg:/m/0285kf1
prev parent reply other threads:[~2018-09-27 15:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-27 13:18 Are there some HTML tags that I can use to make certain blocks auto-hide in eww? Kaushal Modi
2018-09-27 13:50 ` Noam Postavsky
2018-09-27 13:55 ` Kaushal Modi
2018-09-27 14:25 ` Noam Postavsky
2018-09-27 15:25 ` Kaushal Modi
2018-09-27 15:42 ` T.V Raman
2018-09-27 15:45 ` Kaushal Modi
2018-09-27 15:48 ` T.V Raman
2018-09-27 15:50 ` Kaushal Modi
2018-09-27 15:54 ` T.V Raman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23468.64844.870428.426159@retriever.mtv.corp.google.com \
--to=raman@google.com \
--cc=help-gnu-emacs@gnu.org \
--cc=kaushal.modi@gmail.com \
--cc=larsi@gnus.org \
--cc=npostavs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.