How can we help you today?

How to Disable the ShortPoint Accessibility Widget on Specific SharePoint Sites

When enabled ShortPoint Accessibility will be applied to all sites within your SharePoint tenancy, whether it has ShortPoint installed or not. In this article, we will provide the steps to disable the accessibility widget on sites where you do not want it to appear.


TABLE OF CONTENTS


Prerequisites

  • You have the latest ShortPoint SPFx version installed for your environment 
  • You are a ShortPoint Designer with an active license
  • You have enabled ShortPoint Accessibility for your SharePoint tenancy.

Step-by-step Tutorial

Follow these steps to disable the ShortPoint Accessibility on a SharePoint site:


Step 1: Launch ShortPoint Theme Builder

  • Open a page within the SharePoint site collection where you do not want the accessibility widget to appear.
  • Access ShortPoint Theme Builder in two ways: [1] Click the ShortPoint shortcut on your command bar and select Theme Builder, or [2] Navigate to the ShortPoint Dashboard from Site Contents then select Theme Builder.


enter Theme Builder


Step 2: Navigate to the Theme Builder Utilities options

  • On the Theme Builder main menu, scroll down and select Utilities.


go to Utilities

  • Open Custom Javascript.


select custom javascript


Step 3: Copy and paste Javascript code

We will be using Javascript code to prevent the ShortPoint Accessibility widget from loading on the site. Here is the code:


// Disable accessibility widget on this site
localStorage.setItem("spDisableAccessibilityOn_" + window.shortpoint_spPageContextInfo.siteAbsoluteUrl, 1);


To enable it again you just need to change "setItem" to "removeItem" in the code snippet.


localStorage.removeItem("spDisableAccessibilityOn_" + window.shortpoint_spPageContextInfo.siteAbsoluteUrl, 1);
  • Copy the code and paste it into the custom Javascript field.


enter javascript code


  • Hit Apply.


click apply


Step 4: Publish changes

  • Once done, hit Publish.


publish the changes


That’s it! The ShortPoint Accessibility widget will no longer appear on all pages of the Site Collection.


Related articles:


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

World's best intranet sites are designed using ShortPoint

Get started today! Learn more
See all 5 topics

Start a trial

Ignite your vision. Install ShortPoint directly on your site, or play in sandbox mode. No credit card required.

Get started today

World’s best intranet sites are designed using ShortPoint

Thousands of companies using ShortPoint everyday to design, brand and build award winning intranet sites.

Get started Learn more