text editor – Need a Notepad app for Android

I can connect a mouse and a keyboard to my tablet (USB OTG), using it pretty much like a desktop computer.

I need a Notepad addon, similar with Windows Notepad or Notepad2

No notes, no reminders, no organizer

I don’t need features for reminding me anything, I don’t need to set multiple notes, I don’t need it to help me to organize my life.

Just a notepad program that can open file, edit and then save file to the desired location.

Is there any such application?

css – What causes button text to be centered?

Out of curiosity… When applying the same CSS to common HTML tags, <button/> seems to stand out in terms of text alignment: In contrast to other tags, it centers text vertically and horizontally automatically.

.box {
  width: 100px;
  height: 100px;
  display: inline-block;
  border: 1px #000 solid;
  background: none;
  box-sizing: border-box;
}
<button class="box">Button</button>
<div class="box">Div</div>
<span class="box">Span</span>
<a class="box">Link</a>

I’m getting:

enter image description here

I’m wondering why that is the case. Looking at the computed box model properties in the browser the elements have more or less the same values. I’m cross referencing them with approaches to achieve vertical centering, but I can’t spot what actually causes it. I also looked into browser defaults (see e.g. this question), but surprisingly e.g. the Firefox defaults contain nothing specific for <button/>.

Any ideas why that is the case? Is a <button/> somehow special according to the specs, so that e.g. the centering behavior cannot be explained just by looking at computed CSS properties?

accessibility – Is alt text required for an image if the information is present elsewhere on the page?

If a sighted user can view the image and derive any kind of context or detail from it that relates to the text of the page, then you should not treat the image as uninteresting or purely decorative.

If it does have context, then to the vision impaired user of course it’s important that there is an image of the described item. After all, you wouldn’t have put it on the website if it wasn’t of some value to the sighted reader. To deny the sight impaired reader at least a description of it is a potential cause of frustration.

To not give it an alt text is to say to the reader, “It’s not important for you really – don’t worry about it.” And to the reader, this is very well may be a source of frustration. It’s not unlike a hard of hearing person getting the frustrating response, “Forget it” or “Never mind” by someone who’s asked to repeat something. Do not deny the person relying on the alt text the experience others may have who can see.

As to what the alt text should be, it depends a lot on the appearance of the item being described. If it is something like an original historical document, then you should describe it to the viewer just like you’d describe it to someone verbally. E.g., “An image of the original document, hand written on tattered paper yellowed with age”, or “Typewritten pages from diary with tear repaired with clear tape”, etc. In the case of a document also fully quoted in the page (per your example), it might help that the alt text also state that the contents of the document are available in the page.

Lastly, irrespective of context, if the image can be clicked on and a higher resolution version be viewed, both the low res/thumbnail version needs alt text, as well as the high res version. The thumbnail should describe the item enough to let the vision impaired reader have as much a reason to be interested in the detailed version as a sighted reader. And of course the detailed version should have a detailed description.

posts – Alt text attributes not showing over portfolio images

I´ve been searching almost all posts regarding this issue but haven´t found a solution for my theme. Maybe there´s a kind expert mind that can support me. I´m using a theme that doesn´t allow updates nor support. It´s a grid-based minimal design. As I´m a motion designer would like that when the viewer hover´s the cursor over the images on the page the information text displays as it used to, now it doesn´t happen anymore and I´m a bit frustrated as need showing my work to potential clients.

This is my website https://rafaelcalleja.com/ not sure if I should share anything else to get some advice?

thank you in advance for any help

entities – Text Formatted field not getting html tags in re-edit

I am using Drupal Field to store HTML-Markup and fetch with twig template. All works fine.

But, the formatted-field does not pull the full html when re-edit is to be done.

The formatted-field is set as Gutenberg-text in field settings and full-html in field-definition, also text-format is set full-html

Original HTML

<ul class="nav flex-column pl-0">

<li class="nav-head">Xamarin</li>

<li class="nav-item"><a class="nav-link" href="#">Overview</a></li>
<li class="nav-item"><a class="nav-link active" href="#">Analytics</a></li>
<li class="nav-item"><a class="nav-link" href="#">Export</a></li>
<li class="nav-item"><a class="nav-link" href="#">Snippets</a></li>
<li class="nav-item"><a class="nav-link" href="#">Flexbox</a></li>

<li class="nav-header">Xamarin Installation</li>

<li class="nav-item"><a class="nav-link" href="#">Layouts</a></li>
<li class="nav-item"><a class="nav-link" href="#">Templates</a></li>
<li class="nav-item"><a class="nav-link" href="#">Themes</a></li>

</ul>

When input through text-formatted-long

formatted-field-html-input

During re-edit the formatted-field is striping html tags, and does not pull full html.
formatted-field-html-import

**How to get away with this, and formatted field pull full-html during re-edit.

Google Voice Text Messaging: Selecting recipient failure

Failure confirmed on Firefox, Chromium and Safari browsers.

When sending text messaging a dropdown menu of recipients is provided, however, clicking on the recipient no longer selects the recipient. I am forced to type the phone number of each recipient manually.

What is the root cause of the observed behavior and how can this be overcome?

automator – Use the new Siri voices on macOS to render audio files from text

macOS now has a few newer voices that can be chosen in VoiceOver Utility > Speech. I quite like the Siri Male (United States) voice, but neither the command say nor using Automator will let me select this or any other Siri voices to use, only the older voices are supported. So far I can only use the voice with the hotkey to read out loud selected text.

Is there a way to use those new voices to render text to audio files?

sharepoint online – How i can change the color of a single line of text if a People or Group column is empty or has a value

You can try the following JSON for (Breaks):

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "div",
  "txtContent": "@currentField",
  "style": {
    "background-color": "=if(($Engineer)=='', 'Green', 'Red')",
    "color": "black",
    "font-size": "1.0em",
    "justify-content": "center"
  }
}

enter image description here