Disappointing. Thanks for sharing Willem.
Best,
Fernando
On 03/14/2019 02:28 AM, Linux for blind general discussion wrote:
Hi,
See the message below from a colleague of mine.
In short, browsh is a waist of time for us, but see below.
It looked like a nice idea though.
Kind regards, Willem
---------- Forwarded message ----------
Date: Mon, 11 Mar 2019 14:40:41 +0200
From: Rynhardt Kruger <rynkruger@xxxxxxxxx>
To: Willem van der Walt <wvdwalt@xxxxxxxxxx>
Subject: Re: anyone, any luck with browsh www.brow.sh
Hi Willem,
I had a quick look at Browsh and it appears to use UTF-8 tricks to
render the page directly from Firefox's representation of the page. It
can, for instance, show videos using the same method.
Reading the go source code, it seams that very few keystrokes are
actually handled by browsh. The docs mention that up and down arrows
scroll the page, suggesting that Firefox handles the focus and sutch.
Presumably the focus is then rendered incidentally by Browsh along
with the rest of the page, I.E., browsh itself doesn't know where the
focus is.
In fact, I suspect that one is actually supposed to click links with
the mouse. I had a bit more luck with the html client of Browsh, i.e.
running it with --http-server-mode. One can then use something like
Elinks to view the page, and click on links etc.
One could probably patch the Firefox extention used by browsh to
communicate the focus position along with the page contents, and then
Browsh could move the cursor to that position. However, another
problem I've found is that, because of the way Browsh scrapes the
screen from Firefox, pages in Browsh are not really structured in an
accessible way. For instance, the Youtube homepage as viewed with
Browsh contains a quite inaccessible table with all the trending
videos, with playing time arranged above the name of each video etc.
The names of the videos are also not rendered fully by Browsh,
presumably the resolution of the text console is too small. In
contrast, when visiting the youtube homepage with Firefox and Orca,
the accessible view that one gets is quite different, since Orca reads
the logicle structure of the page rather than the rendered screen from
the browser. With Orca, one doesn't get a table at all, since there's
actually no table in the html. In stead, one gets a nice list of
trending videos, each with it's playing time beneath. Each video is
also tagged as a heading, making it easier to navigate. It appears as
a table on the screen because of the stilesheet applyed to the page.
Regards,
Rynhardt
On Thu, Mar 7, 2019 at 5:51 PM Linux for blind general discussion
<blinux-list@xxxxxxxxxx> wrote:
Hi,
I tried browsh, but I think it is emulating a cursor and not using the
standard tty cursor.
I do not know the go language in which browsh is written at all.
I did grab the git repo and had a listen through some of the source
code.
No mention of readline or ncursus or anything like that there .
Does anyone know of a way to track the browsh cursor using speakup or
sutch?
TIA, Willem
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list