Opened 14 years ago
Closed 14 years ago
#8129 closed defect (fixed)
mythbrowser: Hard (impossible?) to see links using keyboard navigation
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | 0.23 |
Component: | Plugin - MythBrowser | Version: | 0.22 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Trying to use the keyboard to navigate a webpage using mythbrowser, one problem is to see where the focus is i. e., which link a keyboard "follow link" command will activate.
The problem is not really specific to mythbrowser, it's the same w most browsers. Anyway, if it should be possible to use at lest simple pages with a remote control, this problem needs to be addressed IMHO.
I have done a simple minded patch which basically makes the current link, the focus, green. This is not always a pleasant experience, but it solves the problem to see the link a lot of times. Not always, though.
The basic idea is to add a specific stylesheet which mythbrowser loads with every page. I think this general idea is Good Thing. However, here are many details such as where to the code should be in the end, where the CSS file should be installed, to which component the CSS file belongs (mythbrowser? themes?), a better CSS file etc. which are really hard for a newbie making a first patch.
At least, it's a first try. Here is actually two files: A "normal" diff and a new file living in .../libmythui/mythbrowser.ccc. I'm open to any hints how to improve the patch if there is interest.
Attachments (2)
Change History (5)
Changed 14 years ago by
Attachment: | mythbrowser-patch added |
---|
Changed 14 years ago by
Attachment: | mythbrowser.css added |
---|
stylesheet making focus ugly, but visible, green,
comment:2 Changed 14 years ago by
Milestone: | unknown → 0.23 |
---|---|
Status: | new → accepted |
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
(In [23714]) Allow a user style sheet to be loaded in MythUIWebBrowser.
Also add a default css file that just changes the color of the background of the focused link to make it more visible when trying to select a link using the keyboard.
Themers can if they wish use their own default css file which will be used anywhere the web browser widget is used or add a <userstylesheet> tag to override the default and use a different one.
Closes #8129.
diff -c -C 2, adds stylesheet to mythbrowser