Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

How get rid of the black rectangle on lockscreen password page?


Recommended Posts

Hi, There is an ugly black rectangle on the lockscreen which we don't appear to have any chance of removing or changing colour in Design/Lockscreen options. I have changed all colours to white or mid grey, tried password styles in both rectangle and underline. Nothing gets rid of it.

It shows up on the real page in browsers, but not on Edit page while in Squarespace. Any ideas please?

Thanks

lockscreen.jpg

Edited by Sarah-W
Link to post
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Posts

This "focus outline" is one of a number of accessibility improvements that Squarespace made to 7.1 recently to improve site navigation for visitors with vision and movement disabilities. On forms, the

Hi Paul, Thanks so much for taking the time to write this. It is understandable now and I can explain it to my client.   

Posted Images

3 hours ago, Sarah-W said:

There is an ugly black rectangle on the lockscreen which we don't appear to have any chance of removing or changing colour

This "focus outline" is one of a number of accessibility improvements that Squarespace made to 7.1 recently to improve site navigation for visitors with vision and movement disabilities. On forms, they have added a contrasting black or white outline to the area of the page that has focus. On a Lock Screen, this is usually the password box.

Removing focus outlines can create issues for people navigating the web with a keyboard, and isn't recommended. In some territories, there are legal stipulations for accessibility so removing accessibility features may cause legal issues for the website owner.

If you do not like the default style that Squarespace applied (a thick white or black box) then there are a couple of accessible-friendly options available:

  • Style the focus outline to make it slightly less obtrusive and match your design.
  • Style the password element itself to make it stand out so that you can remove the focus outline from this control. If you choose this approach, it's wise to use several means to determine the focus, not just colour, to help visitors with color blindness. If you've tried this approach, you can remove the focus outline by adding something like this to Settings > Advanced > Code Injection > Lock Page
<style>
.sqs-slide-wrapper[data-slide-type="lock-screen"] .password-input.focus-visible {
  outline:none!important; 
}
</style>

   If a post helps you, please click a "Like" option below  ↘️

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digitalbuilding the features that Squarespace didn't include.
I value honesty, integrity, transparency and respect. Links in my posts may refer to SF Digital products or may be affiliate links.
Squarespace. I've been a loyal and enthusiastic supporter of the platform since 2007. 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...