Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
olli-adapters
Advanced tools
The adapters to be imported to transform visualizations from concrete libraries into an OlliVisSpec
The adapter pattern is at the core in the design of Olli, being used to deconstruct visualizations
into an OlliVisSpec
. Since every visualization grammar contains its own
complexities, in order to make a wider set of visualizations accessible, adapters are used to create
a common type that can then be rendered into different accessible formats. Generating a
screen-reader accessible structure for multiple visualization libraries is streamlined as the
rendering no longer has to work with the concrete implementation of external libraries. The type
system is comprised of a primary OlliVisSpec
describing the structure of a chart with
Guide
s. The types bring out the perceived or hierarchical elements of a chart that are rarely
explicitly outlined in a specification.
OlliVisSpec
The OlliVisSpec
is the output of the adapters deconstructing a visualization from its original
specification into a more generalized format. A visualization will either be a composite view of
nested charts or simply be a single chart depending on the hierarchy of information. Each object
also contains a high-level description of the visualization and the data that being visualized.
Within a lone chart, the OlliVisSpec
also outlines the structured elements of the chart
including axes and legend, but also visual information such as the mark being used and the title of
the chart, if any.
Specific type information may be found in Types.ts
.
Guide
sGuide
s contain information on the structured elements of charts. The axes and legends of a visualization share many common attributes throughout visualization grammars, and Olli reflects those similarities.
The Guide
type may also be found in Types.ts
.
FAQs
Visualization toolkit adapters for Olli, a library for converting web visualizations into accessible text structures for blind and low-vision screen reader users.
The npm package olli-adapters receives a total of 2 weekly downloads. As such, olli-adapters popularity was classified as not popular.
We found that olli-adapters demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.