Skip to content

Commit

Permalink
Dialog: Add screenreader labels (#1034)
Browse files Browse the repository at this point in the history
* Dialog: Add screenreader labels

See #555

* Update readme.txt

* Move aria label to the Follow button

Also adds some more a11y improvements for the dialog modal.

Fixes #861.

* Fix close button disappearing on hover

White close button on white background.

* Use the right kind of white so it works with bright/dark modes
  • Loading branch information
obenland authored Dec 3, 2024
1 parent df1c645 commit acb42ff
Show file tree
Hide file tree
Showing 24 changed files with 57 additions and 36 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Improved

* Added screen reader text to the "Follow Me" block for improved accessibility

### Fixed

* Prevent hex color codes in HTML attributes from being added as post tags.
* Prevent hex color codes in HTML attributes from being added as post tags

## [4.3.0] - 2024-12-02

Expand Down
2 changes: 1 addition & 1 deletion build/editor-plugin/plugin.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '1abdf09b01fc03ff713f');
<?php return array('dependencies' => array('react', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '4d5e9ed82e8448bb4fd1');
2 changes: 1 addition & 1 deletion build/editor-plugin/plugin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/follow-me/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '7022993e3c96d3b81051');
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '62610556ba8e5f129fdf');
Loading

0 comments on commit acb42ff

Please sign in to comment.