Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@springernature/global-autocomplete

Package Overview
Dependencies
Maintainers
14
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@springernature/global-autocomplete - npm Package Compare versions

Comparing version 5.1.3 to 5.1.4

4

demo/main.js

@@ -11,2 +11,3 @@ /* eslint-disable unicorn/no-abusive-eslint-disable */

resultsContainer.className = 'c-results-container';
resultsContainer.setAttribute('role', 'listbox');

@@ -20,4 +21,5 @@ // Assuming results is an array

result.textContent = datum;
result.tabIndex = '0'; // So you can focus/tab through the results
result.tabIndex = 0; // So you can focus/tab through the results
result.className = 'c-results-container__result';
result.setAttribute('role', 'option');
resultsContainer.appendChild(result);

@@ -24,0 +26,0 @@ });

# History
## 5.1.4 (2022-02-25)
* BUG: unable to move focus to select autocomplete items when using NVDA with Firefox (Windows)
* add role="listbox" to parent container of autocomplete items
* add role="option" to each autocomplete item
* Change tabIndex value from string to integer
## 5.1.3 (2022-02-18)

@@ -4,0 +10,0 @@ * Remove post install step that was causing issues with CI

{
"name": "@springernature/global-autocomplete",
"version": "5.1.3",
"version": "5.1.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Autocomplete/suggest component",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc