e2openplugin-OpenWebif
e2openplugin-OpenWebif copied to clipboard
Remote control templates
In the remote control template files, "remote.html", used by OpenWebif what is the purpose of the "alt" attribute in the "area" tag?
These "area" tags are a map overlay coordinates over an image of the remote control. Is the "alt" attribute being used in some way by the OpenWebif code?
If the purpose was intended to be a hover help for the areas being mapped out then the correct attribute should be "title".
There are some html files with only "title" and some with "alt" and "title". This looks like a copy paste issue. We don't need the "alt" attribute.
Thank you. I will remove the "alt" attributes from my recent Zgemma update.
@jbleyel, as we correct and update remote controls we are now converting alt= attributes into title= attributes.
There is one more question: Some remote controls have an id= attribute and some do not. Is the id= attribute used by OpenWebif or can it also be removed? (The value, when it is used, appears to be the same as that used in the pressMenuRemote() function.
The id attribute is not needed.
Thank you for the confirmation. We will drop the id= tag from all updated remote controls.