-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(watermarks): selectively enable watermarks #15201
base: master
Are you sure you want to change the base?
Conversation
Hi, thanks for your contribution! |
I guess its intentionally hidden. |
Then this may should be hidden for real or excluded from the DOM. As I mentioned, this breaks the sequential navigation via keyboard, as it gets focused, but is hidden behind the content panel. I will change the PR as soon as I get a fix for it. |
68bcd3d
to
90d2558
Compare
This patch works for our case and satisfies the accessibility requirements. The condition for loading the watermarks could be extended, but only the prejoin screen was tested for us. |
@joshuai96 have you signed the CLA, as I don't see it at the moment? |
@damencho we are currently in the process of evaluating and signing the CCLA and ICLA. |
In the meantime, if you disable pre-join and enable lobby for the room you will experience the same problem.
So I guess the same can be applied when getIsLobbyVisible is true. |
view Signed-off-by: Joshua Irmer <[email protected]>
90d2558
to
2a3ebf5
Compare
I've extended the condition to exclude the watermarks on lobby and prejoin. |
jenkins test this please |
Not sure if this was a mistake or intentional. We should check with design. |
@damencho ICLA and CCLA are signed now. |
FWIW, @emcho had no objections to showing the logo on the prejoin screen. |
Having the logo on the prejoin screen looks like a side product of loading a lot of conference components before even joining the call. We are currently doing a lot of accessibility work, so in that regard, it may be more beneficial to keep the component excluded in the prejoin screen in favor of navigating the screen via keyboard more quickly and easily. A lot of "visitable" components means a lot more mental strain, as the in mind "map" of navigation grows and determining the important components (join call) gets more difficult. |
From a branding prespective, the prejoin screen has zero logos, which can be seen as kind of wrong. If it's the first time you are using the product, and the first thing you see is the pre-join screen because you are just following a URL, there not a single logo visible. |
Valid point from branding perspective. I'm gonna look into changing the style to get them on top again. I've noticed the inconsistency between scss styles and in component style objects. Is there a preferred way? The scss define some z-index values for different usages. But you can't use them in the style object. Is there maybe any better way then hacking the same values into the object? Is there any afford done to produce some reusable style definitions, either in scss or style object (which ever is preferred)? Sorry, this is more of a general question and might be part of a more general discussion on this topic. |
Component style objects are what we are transitioning to.
Can't we make this work by upping the z-index in the scss file? |
Noted for further changes.
Yes, that was exactly what my first approach was. I changed it later to the component exclusion. Like I said: It's more of a general question, for further changes and probably belongs in a separate discussion. |
I see. Then let'd do z-rder to start with, and go on from there. |
The
z-index
of thePremeetingScreen
is252
while the watermarks only have thez-index
of2
or100
for the "powered by". This hides the watermarks behind the content panel.If the watermarks are hidden by design here, they should be conditionally excluded from the DOM, as they can be navigated to via keyboard. This breaks the sequential navigation required for accessibility.
I opted to bring the Watermarks to the top, as determining which view is currently active (prejoin, lobby or active conference) and bringing this information down to
Watermarks
(Conference -> LargeVideo -> Watermarks
) seems a lot more hassle, but can be implemented that way, too.