Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add font-resize options #6

Open
ruthmoog opened this issue Aug 31, 2021 · 1 comment
Open

Add font-resize options #6

ruthmoog opened this issue Aug 31, 2021 · 1 comment

Comments

@ruthmoog
Copy link
Owner

This can be added with JS, but also investigate options using pure HTML/CSS?

eg:

<script language="javascript" type="text/javascript">
  
  var fontSize = 24;
  var tags = document.getElementsByTagName('p');
  
  function incFontSize() {
    fontSize = fontSize + 4;
	for (var i=0; i<tags.length; ++i) {
    tags[i].style.fontSize = fontSize + "px";
  	}
  }
  
    function decFontSize() {
	fontSize = fontSize - 4;
	for (var i=0; i<tags.length; ++i) {
    	tags[i].style.fontSize = fontSize + "px";
    }
  }
</script>
@ruthmoog ruthmoog added the enhancement New feature or request label Aug 31, 2021
@ruthmoog
Copy link
Owner Author

see singing for breathing:

<input id="size" type="checkbox" name="size"/> <label for="size" class="caps"><small><span aria-hidden="true" class="setting"><strong><small>A</small>A↕</strong></span> Large Text</small></label>

@ruthmoog ruthmoog added accessibility and removed enhancement New feature or request labels Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant