help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are there some HTML tags that I can use to make certain blocks auto-


From: Kaushal Modi
Subject: Re: Are there some HTML tags that I can use to make certain blocks auto-hide in eww?
Date: Thu, 27 Sep 2018 09:55:51 -0400

On Thu, Sep 27, 2018 at 9:50 AM Noam Postavsky <npostavs@gmail.com> wrote:

>
> Eww (or more specifically, shr) supports inline styles, using
> style="display:none" on a tag does hide it in Eww.


Wouldn't that permanently hide the tag? Not a web expert, but can inline
styles be overridden by external CSS?


> If you're using a
> recent Emacs from master, aria-hidden="true" also works (generally,
> this is meant to hide it from screen-readers, see Bug#32348).
>

I looked at this one, but hiding the aria-hidden is disabled by default.

C-h v shr-discard-aria-hidden shows that it is nil by default.

I was looking for a way to have my site "just work as I expect" without
having users need to set shr-discard-aria-hidden to t.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]