From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.help 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:48:30 -0700 Message-ID: <23468.64462.183860.225107@retriever.mtv.corp.google.com> References: <23468.64074.953890.707605@retriever.mtv.corp.google.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1538111078 26576 195.159.176.226 (28 Sep 2018 05:04:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2018 05:04:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, larsi@gnus.org, npostavs@gmail.com, raman@google.com To: kaushal.modi@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 28 07:04:33 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5kx7-0006q5-Em for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Sep 2018 07:04:33 +0200 Original-Received: from localhost ([::1]:41169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5kzE-0001ly-2A for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Sep 2018 01:06:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5YWp-0002En-MW for help-gnu-emacs@gnu.org; Thu, 27 Sep 2018 11:48:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5YWo-0007GY-Sb for help-gnu-emacs@gnu.org; Thu, 27 Sep 2018 11:48:35 -0400 Original-Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:43902) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g5YWo-0007FX-Ie for help-gnu-emacs@gnu.org; Thu, 27 Sep 2018 11:48:34 -0400 Original-Received: by mail-pf1-x436.google.com with SMTP id j26-v6so2187121pfi.10 for ; Thu, 27 Sep 2018 08:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=4HP8IjnxO7696ro7kHdASf8u+ef6V6hOUJOc60f1Ouw=; b=sAiA9RtIrYyB4e+buXRwcQnK/U8KN4mflmb37xl2VsXg5V7enEqdJ4cYd4CJ+TiRry 4t2x5yawsfRudjuMmmigeLvSK2RecoS9r8SMKbnvhHd9RaCN+EqJD2Lix1hjAtXbh6nG /RZqTic8ywlfy/DKmJzop4+garUAJvOpCNpmMTZh7Kq4ZoowlTN2EexQDIAWRUQUjtb+ IhGH8i8F+RFeCIFkyVyFxtXdQwndiwec0h5ciCT529wuRJ5vPi4YLO8tRQXNwsuQntUg TbE+F6bGy1eRVDbBLx3iDgaP12AxET53QNLZJioci7ay/8/nh0Zq8HDjh6l9gejJXj34 n+mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=4HP8IjnxO7696ro7kHdASf8u+ef6V6hOUJOc60f1Ouw=; b=TbQRBVWFwjqoJelii0RdtEfbbA0xuSUdjMZw6QKpWLQTKPvb2OJ6qYtMEhw08Km5gT OH2iWW5MuY/x7gSMB7nSHgnN0ggmiG0n1SJJYNCPXaGUljy+nRhGTR93WB6AJiPyiQBU uofgimSc5QQG7gEqUe2qevl9dYoNyk8tP26EyHd0a2V1TuK3RnyW6sZsYPjUkw3mIPwn E7MdE5mQrx0XAGJRs8TPJaiTXdRa8AGsUTYmYLqdH9HUdiI+61PbW7tVlHGYzULhc3oJ rjb1MDqyL7HMnPcJiAvHZLx09OwjfgN4M6dZZ3sljZL3r7412/vBORXiPtgtTCD/LWvu 7J4A== X-Gm-Message-State: ABuFfogLB6dpg3uwgLe4DO5Z0wIn9Y7OBlZSvEvMBsyh1FQFeaiGC6wQ CJ2NFRXHQjW6bJg7HcduZTobZVaU/yI= X-Google-Smtp-Source: ACcGV613eTg8dAIwEqV16K1ONk7hsAJ4LI33Jw8Wz02vIUMCRa3Mo2YioEfdWzYCghZhjWC696eK4w== X-Received: by 2002:a63:3207:: with SMTP id y7-v6mr1669764pgy.101.1538063312784; Thu, 27 Sep 2018 08:48:32 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1a11:3b2f:9fa1:a5df:f61f]) by smtp.gmail.com with ESMTPSA id z5-v6sm3491085pfh.83.2018.09.27.08.48.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 08:48:31 -0700 (PDT) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id 720A51E11E3; Thu, 27 Sep 2018 08:48:30 -0700 (PDT) In-Reply-To: X-Mailer: VM 8.1.1 under 27.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::436 X-Mailman-Approved-At: Fri, 28 Sep 2018 01:05:46 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118046 Archived-At: 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. Kaushal Modi writes: > On Thu, Sep 27, 2018 at 11:42 AM T.V Raman wrote: > > > In the case, of EWW, since we dont run JS code, the state of > aria-hidden=true will never change to false from the initial value > and you can safely drop those nodes. > > > Awesome! Thanks for that background information too. > > So I will start annotating "don't show these in eww" tags with "aria-hidden=true". I hope that the consensus is to default that var to t. Noam? Eli? Lars? -- Id: kg:/m/0285kf1 -- Id: kg:/m/0285kf1