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

@tds/core-a11y-content

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tds/core-a11y-content - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE

4

A11yContent.md
Allows content to be hidden from sight, but still visible to screen readers. This can be used to give context to users using screen readers without revealing unnecessary extra text to sighted users.
```jsx
<Text>The screen reader says:</Text><A11yContent>This is accessible content</A11yContent>
```
<Text>The screen reader says:</Text><A11yContent>This is accessible content</A11yContent>
```

@@ -6,2 +6,10 @@ # Change Log

## [1.0.1](https://github.com/telusdigital/tds/compare/@tds/core-a11y-content@1.0.0...@tds/core-a11y-content@1.0.1) (2019-02-06)
**Note:** Version bump only for package @tds/core-a11y-content
<a name="1.0.0"></a>

@@ -8,0 +16,0 @@ # 1.0.0 (2018-07-17)

@@ -8,3 +8,3 @@ 'use strict';

var styles = { "a11yContent": "TDS_A11yContent-modules__a11yContent___1A-Rh" };
var styles = {"a11yContent":"TDS_A11yContent-modules__a11yContent___1A-Rh"};

@@ -17,8 +17,5 @@ /**

var children = _ref.children;
return React.createElement(
'span',
{ className: styles.a11yContent },
children
);
return React.createElement("span", {
className: styles.a11yContent
}, children);
};

@@ -32,2 +29,1 @@

module.exports = A11yContent;
//# sourceMappingURL=index.cjs.js.map
import React from 'react';
import PropTypes from 'prop-types';
var styles = { "a11yContent": "TDS_A11yContent-modules__a11yContent___1A-Rh" };
var styles = {"a11yContent":"TDS_A11yContent-modules__a11yContent___1A-Rh"};

@@ -12,8 +12,5 @@ /**

var children = _ref.children;
return React.createElement(
'span',
{ className: styles.a11yContent },
children
);
return React.createElement("span", {
className: styles.a11yContent
}, children);
};

@@ -27,2 +24,1 @@

export default A11yContent;
//# sourceMappingURL=index.es.js.map
{
"name": "@tds/core-a11y-content",
"version": "1.0.0",
"version": "1.0.1",
"description": "Hide content that should only be seen by screen readers",

@@ -29,3 +29,4 @@ "main": "index.cjs.js",

"prop-types": "^15.5.10"
}
},
"gitHead": "79839daf9cc90e531bdfe4e5202edfd4b7348342"
}

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