Skip to content

Commit e4153c5

Browse files
committed
better comments
1 parent 4dacfee commit e4153c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

a11y-add-on-for-facetwp.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ function a11y_addon_facet_assets() {
5151

5252
/**
5353
* Adjusts markup for specific facets so they use real input elements
54+
* Adds matching label for and ids to all facets
5455
*
5556
* @param string $output HTML
5657
* @param array $params FacetWP field parameters
@@ -59,7 +60,7 @@ function a11y_addon_facet_assets() {
5960
*
6061
* @todo consider whether a combination of totally custom output and str_replace make sense or whether doing something with the WP HTML API might make more sense in the long term
6162
*
62-
* courtesy of Mark Root-Wiley
63+
* most of this courtesy of Mark Root-Wiley
6364
* @link https://github.com/mrwweb/accessibility-addon-for-facetwp
6465
*/
6566
function a11y_addon_transform_facet_markup( $output, $params ) {

0 commit comments

Comments
 (0)